wood burning stoves*
The moose likes Other Open Source Projects and the fly likes Modifying Log file(log4j). Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Modifying Log file(log4j)." Watch "Modifying Log file(log4j)." New topic
Author

Modifying Log file(log4j).

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi All,

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
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Why would you want to? You should let Log4J handle the log files.
 
Don't get me started about those stupid light bulbs.
 
subject: Modifying Log file(log4j).
 
Similar Threads
Not able to save logs into .log file
setting log4j
logging
Log4j rolling policy must be declared?
log files