| Author |
Problem with log4j
|
Jaaouane Aymen
Greenhorn
Joined: Sep 22, 2009
Posts: 29
|
|
Hello All,
I want to add a file appender for log4j.
i add theses lines to my log4j.properties as mentioned in log4j documentation:
log4j.rootLogger=INFO, stdout, fedexday, FILE
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=a.log
but alwayes i have an emty file a.log ???
|
 |
amit punekar
Ranch Hand
Joined: May 14, 2004
Posts: 468
|
|
Hello,
how you are using this logger in your application code?
Regards,
amit
|
 |
endswel shui
Ranch Hand
Joined: Jul 03, 2008
Posts: 33
|
|
amit punekar wrote:Hello,
how you are using this logger in your application code?
Regards,
amit
yes, type some code in your app, is better
just demo to simulate is ok
|
 |
 |
|
|
subject: Problem with log4j
|
|
|