[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log message to screen - possible in Weblogic, is it poss
valatharv
do-not-reply at jboss.com
Thu Mar 26 10:43:35 EDT 2009
Here is the summary, I tried changing the context path (I am trying on windows environment)... but no success
I think I am doing something wrong with context path, please guide.
a) jboss-log4j.xml
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Threshold" value="INFO"/>
| <param name="File" value="${jboss.server.home.dir}/logfiles/server.log"/>
This genereates server.log file under "C:\jboss-4.2.3\server\default\logfiles"
b) Added context path to server.xml (for testing provided the full path)
C:\jboss-4.2.3\server\default\deploy\jboss-web.deployer\server.xml
<Connector port="80" address="${jboss.bind.address}"
| <Context path="C:\\jboss-4.2.3\\server\\default\\logfiles" docBase="log" debug="0" reloadable="true" />
....
Tried URL : anonymous wrote : http://localhost/log/server.log
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221311#4221311
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221311
More information about the jboss-user
mailing list