This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes making server.log appned=true Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "making server.log appned=true" Watch "making server.log appned=true" New topic
Author

making server.log appned=true

Guy Roth
Ranch Hand

Joined: Aug 09, 2009
Posts: 74
How do I make the log server\<my server>\log\serve.log to be appended. i.e. whenver I restart JBoss it should not override the content of the log but continue from the end of it?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    7

Add this line to the FILE appender in server/xxx/conf/jboss-log4j.xml:



JBoss In Action
 
Have you checked out Aspose?
 
subject: making server.log appned=true
 
It's not a secret anymore!