[Bug 1004] Log4j logging doesn't work anymore

[email protected] Fri, 13 Mar 2015 12:02:15 +0000
Newsgroups gmane.comp.corba.jacorb.bugs
Message-ID <[email protected]/bugzilla/>
http://www.jacorb.org/bugzilla/show_bug.cgi?id=1004

Nick Cross <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from Nick Cross <[email protected]> ---
I changed the hello demo to exclude slf4j-jdk14 and include slf4j-log4j12 and
simplified your properties to be

--
log4j.rootLogger=DEBUG,jacorb
log4j.logger.jacorb=DEBUG,jacorb
log4j.additivity.jacorb=false
# Logs rotatifs
log4j.appender.jacorb=org.apache.log4j.RollingFileAppender
# Fichier destination
log4j.appender.jacorb.File=/tmp/jacorb.log
log4j.appender.jacorb.ImmediateFlush=true
# Nombre de fichiers de rotation (en plus du fichiers de log)
log4j.appender.jacorb.MaxBackupIndex=10
# Taille maximum avant rotation
log4j.appender.jacorb.MaxFileSize=100000KB
# définition du motif de sortie
log4j.appender.jacorb.layout=org.apache.log4j.PatternLayout
log4j.appender.jacorb.layout.ConversionPattern=%d %5p [%t] (%F\:%L) - %m%n

--

I passed the log4j.properties in via
-Dlog4j.configuration=file:/tmp/log4j.properties and I got some output in
/tmp/jacorb.log e.g.

2015-03-13 11:56:02,455 DEBUG [main] (ORBSingleton.java:199) - Set default
native char codeset to UTF8



If you still have a problem please reopen and ideally provide a test case.
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
jacorb-bugs mailing list
[email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs