You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/01/02 02:39:23 UTC
DO NOT REPLY [Bug 38090] New: - Log4j1.3alpha logs duplcate messages
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38090
Summary: Log4j1.3alpha logs duplcate messages
Product: Log4j
Version: 1.3alpha
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P1
Component: Appender
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: jyoungs.choi@samsung.com
Hello,
I've used log4j 1.2.8.
but, now It has some bug related with file lock handling file, I'd like to
change to 1.3alpha.
so, I tried to change, but I've found a bug, I think.
I can log lines without duplication with log4j1.2.8.
but, when I change the library file to log4j1.3alpha, it starts to log
duplicate lines. log4j always log 2 lines like this!
2006-01-02
10:36:27:765|INFO|HIS|RESOURCE|INI;;;initHandlers;|com.sec.dsc.shv.infrastructur
e.his.core.context.ContextManager
2006-01-02
10:36:27:765|INFO|HIS|RESOURCE|INI;;;initHandlers;|com.sec.dsc.shv.infrastructur
e.his.core.context.ContextManager
2006-01-02
10:36:27:765|INFO|HIS|RESOURCE|INI;;;initService;|com.sec.dsc.shv.infrastructure
.his.core.context.ContextManager
2006-01-02
10:36:27:765|INFO|HIS|RESOURCE|INI;;;initService;|com.sec.dsc.shv.infrastructure
.his.core.context.ContextManager
and my configuration file- log.xml- is this.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="Console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d{yyyy-MM-dd HH:mm:ss:SSS}|%p|%X
{NODE}|%m|%c%n"/>
</layout>
</appender>
<root>
<level value="debug" />
<appender-ref ref="Console" />
</root>
</log4j:configuration>
here is one more thing
I changed the library file to log4j.1.2.13 and then ran my application.
it worked well leaving just one line for a message not duplicated.
Is there any mistake of mine? or can you guess other reasons or any other
suggestions?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 38090] - Log4j1.3alpha logs duplcate messages
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38090
carnold@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From carnold@apache.org 2007-08-22 18:58 -------
Log4j 1.3 development is abandoned. Since this bug appears to be log4j 1.3 specific, marking as
WONTFIX.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 38090] - Log4j1.3alpha logs duplcate messages
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38090
kay.abendroth@raxion.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kay.abendroth@raxion.net
Status|NEW |NEEDINFO
------- Additional Comments From kay.abendroth@raxion.net 2006-11-11 15:18 -------
Can you provide sample code, which triggers the bug?
You also mention some other bug in 1.2.8 related with file lock handling. Can
you explain this?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org