Tony Sabore [
https://community.jboss.org/people/awara1] created the discussion
"Re: How to set the Jboss server to truncate the log file contents back to 0 when it
is restarted"
To view the discussion, visit:
https://community.jboss.org/message/792619#792619
--------------------------------------------------------------
The STDERR log file has no definition in the log4j config.
I added the following to [D:\Kronos\jboss\server\wfc\conf\jboss-log4j.xml] to stop apache
from filling the log with INFO messages:
<category name="org.apache">
<priority value="ERROR"/>
</category>
The service was configured using [d:\Kronos\wfc\bin\jBossWinService.bat] to start the
jboss service as:
D:/Kronos\deployments\release\wfp_staging\app_server\applications\wpk\bin\jbossService.exe
-install %JBOSS_SERVICE_NAME% %JAVA_HOME%\jre\bin\server\jvm.dll -server %charset%
-Doracle.jdbc.defaultNChar="true" -Doracle.jdbc.convertNcharLiterals=true
%JVM_HEAP_SIZES% %JVM_PARAMS_FOR_64% -XX:+HeapDumpOnOutOfMemoryError
-Dsun.lang.ClassLoader.allowArraySyntax=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.service.binding.set=ports-wfc-default
-Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar %JVM_PARAMS_FOR_JMX%
-start org.jboss.Main -params "-cwfc" "-b0.0.0.0" -stop org.jboss.Main
-method systemExit -out %JBOSS_HOME%\bin\stdoutwfc.log -err %JBOSS_HOME%\bin\stderrwfc.log
-current %JBOSS_HOME%\bin -%startup%
Thanks,
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/792619#792619]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]