Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm successfully using Logwatch for Tomcat and Apache but not for JBoss. For some reason Logwatch can not access any files under the JBoss directory. Is there anything I can do to make this work? I'm trying to use Logwatch with JBoss nohup.out and server.log

Note - I can copy the JBoss log file to another directory outside of the JBoss directory and Logwatch can read the file.

I was considering using Logrotate to copy the log files to another directory but there appears to be issues in using Logrotate with JBoss logs.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It should work broadly the same as for tomcat, although JBoss does its own logging thing, which is undoubtedly a bad thing if you have two processes trying to do similar things.

It's the periodic-rotating-file-handler section of standalone.xml on Wildfly at least - you probably want to disable that if you're using logwatch.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.