This content has been marked as final.
Show 1 reply
-
1. Re: How do I needs configure the CLI logs in to a different folder in Jboss EAP 6.1 ?
gonthim Dec 17, 2013 3:37 AM (in response to sathishpmca)If you have CLI logging enabled, you should be able to change your script from this:
if [ -z "$JBOSS_CLI_LOG" ]; then
JBOSS_CLI_LOG=$JBOSS_SERVER_HOME/log/jboss-cli.log
fi
to this:
if [ -z "$JBOSS_CLI_LOG" ]; then
JBOSS_CLI_LOG=$JBOSS_SERVER_HOME/../bin/jboss-cli.log
fi
In order to pick up the cli logs from the bin directory.
Alternatively, you can use the jboss-cli-logging.properties file in $JBOSS_HOME/bin to change the logging location to your $JBOSS_SERVER_HOME/log/ directory like so:
handler.FILE.fileName=../standalone/log/${jboss.cli.log.file:jboss-cli.log}