File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 5823
    
    7

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



JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: making server.log appned=true