Two Laptop Bag
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

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

Joined: May 14, 2008
Posts: 5852

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

JBoss In Action
I agree. Here's the link:
subject: making server.log appned=true
jQuery in Action, 3rd edition