You mean you want to disable the rollover feature in log4j where the files gets renamed to
something like server.log.2006-03-07.log? Or do you want to disable the logging itself?
If it's the former then, you will have to modify the contents the log4j.xml file
present in %JBOSS_HOME%/server/default/conf folder. This files contain a appender named
"FILE" which you will have to change to:
| <appender name="FILE"
class="org.jboss.logging.appender.FileAppender">
| <errorHandler
class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File"
value="${jboss.server.home.dir}/log/server.log"/>
| <param name="Append" value="false"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d{ISO8601}
[%X{TAPUSERNAME}] %-5p [%c] %m%n"/>
| </layout>
| </appender>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987477#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...