A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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