Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modifying Log file(log4j).

 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to? You should let Log4J handle the log files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic