-
1. Re: How can I use ${jboss.server.log.dir} property in domain mode?
jamezp Apr 16, 2014 1:28 PM (in response to rishikesh_darandale)Could you provide more of the log to determine where this messages is coming from?
I don't see it in the web console, but there is an attribute called directory-grouping for each host. There are two options by-server (default) and by-type. If you choose by-type then the logs wold be in the $JBOSS_HOME/domain/log/$SERVER_NAME directory. For example if you have server-one and server-two the $JBOSS_HOME/domain/log directory would have two directories, server-one and server-two. The logs for each server would be in that directory. You can change this attribute in CLI with:
/host=master:write-attribute(name=directory-grouping,value=by-type)
I'm not sure if that's what you're looking for or not though.
--
James R. Perkins
-
2. Re: How can I use ${jboss.server.log.dir} property in domain mode?
jensaug Apr 17, 2014 2:44 AM (in response to rishikesh_darandale)If you're using any built-in logging, you should use Profile "Paths" instead of Host "System Properties" when defining filesystem paths.
* So ditch that property
* Choose your profile (default "full")
* Click on "Paths"->"Add"
* In the Create Path dialogue, set Name:application.log.directory, Path:partsdirect, Relative To: jboss.server.log.dir
* Then refer to this new "application.log.directory" in your configuration paths
Hope I've understood you correctly?
br,
Jens