hello
into one domain jboss EAP 6 or community 7 default instalation the server log file is located into:
$DOMAIN/servers/serverX/log/server.log
How can i to put this ficle into other directori? for example:
/opt/myjboss/domains/logs/serverX/server.log
and into one standalone configuration how can i to put the server.log file into toher location out from the jboss home directory?
thanks
For standalone mode you can add to run.conf JAVA_OPTS="$JAVA_OPTS -Djboss.server.log.dir=/var/log/jboss
For domain mode you can add the same option to domain.conf e.g. -Djboss.server.log.dir=/var/log/jboss/server1/node1/log