Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DDB511659 for ; Wed, 2 Jul 2014 14:48:26 +0000 (UTC) Received: (qmail 77177 invoked by uid 500); 2 Jul 2014 14:48:25 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 77125 invoked by uid 500); 2 Jul 2014 14:48:25 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 77115 invoked by uid 99); 2 Jul 2014 14:48:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 14:48:25 +0000 Date: Wed, 2 Jul 2014 14:48:25 +0000 (UTC) From: "Sebastian Oerding (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LOG4J2-697) Self written Appender stopped working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Oerding updated LOG4J2-697: ------------------------------------- Attachment: log4j2.xml TranslogAppender.java log4jStartUpLog.txt Here the logs from log4j startup, our self-written appender (simplified version only containing code regarding log4j2) and the snippet from the configuration. > Self written Appender stopped working > ------------------------------------- > > Key: LOG4J2-697 > URL: https://issues.apache.org/jira/browse/LOG4J2-697 > Project: Log4j 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.0-rc2 > Environment: Eclipse 4.3 on Windows 7 Professional 64 bit, some 1.6_0_X JDK with x > 43. > Reporter: Sebastian Oerding > Priority: Critical > Attachments: TranslogAppender.java, log4j2.xml, log4jStartUpLog.txt > > > We had a self written appender which stopped working when switching from rc-1 to rc-2. > I tried to enable Annoation Processing in Eclipse as I assume that this is due to changed stuff around the Log4j2Plugins.dat. However I get no hint that the annotations are actually processed. Windows finds no new file on system (but even fails to find the existing Log4j2Plugins.dat). Furthermore setting the status in the configuration to "trace" I got the impression that only the Log4j2Plugins.dat from the log4j2 jar is loaded. > I'm not sure whether this is really a critical issue for more users, for us it is a blocker. Taking the problems into account we had with Log4j2 so far (memory leaks, API breaks, ...) we are wondering whether it is worth to completely write the logging by ourselves and get rid of log4j2 or switch back to something like SLF4j. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org