This content has been marked as final.
Show 3 replies
-
1. Re: JBAS011511: Replacing handler 'FILE' during add operation
jamezp Mar 30, 2015 1:10 PM (in response to valsaraj007)This could happen if you edit the raw XML (domain.xml) instead of using management operations to change the log file handler.
--
James R. Perkins
-
2. Re: JBAS011511: Replacing handler 'FILE' during add operation
valsaraj007 Mar 31, 2015 12:49 AM (in response to jamezp)Thanks James!
I edited the domain.xml file. What we can do to fix this?
-
3. Re: JBAS011511: Replacing handler 'FILE' during add operation
jamezp Mar 31, 2015 11:28 AM (in response to valsaraj007)It's best to use management operations to update configuration settings. This can be done in the web console or via CLI.
Example CLI to change the file name:
/profile=full/subsystem=logging/periodic-rotating-file-handler=FILE:write-attribute(name=file,value={relative-to="jboss.server.log.dir",path="my-server.log"})
The profile would be the profile you're running under. IIRC full is the default.
--
James R. Perkins