This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes jboss server.log setting question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss server.log setting question" Watch "jboss server.log setting question" New topic
Author

jboss server.log setting question

Madhav Kanneganti
Greenhorn

Joined: Jan 20, 2012
Posts: 25
Hi, We recently failed in our application (deployed in jboss 5) and when restart the jboss server and it went up. After that when we tried to see the server.log, it seemed overridden after restarted the server. It didn't append the logs, and we lost what happened on this failure.

After we saw the jboss-log4j.xml, the configuration is , then we figured out that if we change append is true we get appended the logs even we started the jboss. If we do this, do we get any problems? do the server still rolled the logs for each day ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9960
    
163

Madhav Kanneganti wrote:if we change append is true we get appended the logs even we started the jboss. If we do this, do we get any problems?

It's perfectly valid to change it to true. You won't run into problems if you do that.

Madhav Kanneganti wrote:
do the server still rolled the logs for each day ?

Yes, it will if you have the relevant appender configurations.


[My Blog] [JavaRanch Journal]
 
Consider Paul's rocket mass heater.
 
subject: jboss server.log setting question
 
Similar Threads
loggin setup in Jboss
persist previous server.log after server restarts using log4j.xml
Jboss 5.1.0GA + eclipse jboss plugin wont start
stop server.log getting clearedoff on restarts
JBOSS final Startup message ....