This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 9912
    
158

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]
 
 
subject: jboss server.log setting question
 
Similar Threads
persist previous server.log after server restarts using log4j.xml
Jboss 5.1.0GA + eclipse jboss plugin wont start
loggin setup in Jboss
stop server.log getting clearedoff on restarts
JBOSS final Startup message ....