A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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-2014