I have tried with jboss-4.0.1, you should have the following file
boss-4.0.1/server/all/conf/log4j.xml
You should find the code commented as suggested by Peter
| <appender name="FILE"
class="org.jboss.logging.appender.RollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File"
value="${jboss.server.log.dir}/server.log"/>
| <param name="Append" value="true"/>
| <param name="MaxFileSize" value="500KB"/>
| <param name="MaxBackupIndex" value="20"/>
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d %-5p [%c]
%m%n"/>
| </layout>
| </appender>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179060#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...