File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Modifying Log file(log4j).
Joined: Jun 19, 2008
Jan 29, 2010 03:41:51
Can we modify the log file when, application is up.
I tried to deleted the content in log file, i am able to do that, but after that logs are not populated into that.
is there any way to set lock to log file in log4j.
Please help me.
Thanks In Advance,
Bennet Xavier X
Joined: Sep 29, 2008
Jan 29, 2010 06:26:11
Why would you want to? You should let Log4J handle the log files.
I agree. Here's the link:
subject: Modifying Log file(log4j).
Not able to save logs into .log file
Log4j rolling policy must be declared?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015