wood burning stoves 2.0*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modifying Log file(log4j).