[jboss-user] [Installation, Configuration & DEPLOYMENT] - setting up different location for boot.log files running in

tanjir do-not-reply at jboss.com
Fri Oct 5 11:18:09 EDT 2007


Hi all,
I was trying to change the location of log files for my two jboss instances... Now all server.log and boot.log files go under log directory of individual servers. I changed the log4j config file and getting both server.log files under my desired (jboss/log) directory.
I read the documentation on http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossBootLogging. But in my unique case, I need to change the location of boot.log files in following way: (jboss/log/bootFirstServer.log and jboss/log/bootSecondServer.log)
How can I set up the log4j.properties under bin directory (as bin directory is common for both of the servers; and unlike log4j-config.xml I can only set-up 1 log4j.properties file)?
or if I use two different lo4j properties file, then how should I set the following java option?
 set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration=file:%DIRNAME%log4j.properties
Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092067#4092067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092067



More information about the jboss-user mailing list