-
1. Re: Jboss log file (jboss.log) in top-level directory
jaikiran Jun 20, 2013 5:09 AM (in response to renes)1 of 1 people found this helpfulWelcome to the forums!
I think that jboss.log at the root level is created by the stdout redirection that you might be doing while starting the server as a service. Do you use the service.bat to set it up as a service and then start it as a service?
-
2. Re: Jboss log file (jboss.log) in top-level directory
renes Jun 20, 2013 5:50 AM (in response to jaikiran)Yes, in /etc/init.d/jboss I can see this:
export JBOSS_CONSOLE=$JBOSS_HOME/jboss.log
Must have installed it myself but this stuff is ancient (2009) so I never thought of looking there. Any idea how people normally manage the console output? Because it currently fills up the disk every so many weeks.
-
3. Re: Jboss log file (jboss.log) in top-level directory
jaikiran Jun 20, 2013 6:00 AM (in response to renes)Redirect to /dev/null?
-
4. Re: Jboss log file (jboss.log) in top-level directory
renes Jun 20, 2013 7:39 AM (in response to jaikiran)Ha funny but you are right, console logging is not recommended for production (so I just read) so I removed the whole thing from the xml file, see https://community.jboss.org/wiki/JBossASTuningSlimming for details. Thanks for your help, I will mark this question as answered.