Hi guys,
I configure a logging-profile on my JBoss EAP 6.1.1 to logger to an specific deployed file, bellow the setting:
<subsystem xmlns="urn:jboss:domain:logging:1.2"> ........ <logging-profiles> <logging-profile name="myapp"> <file-handler name="myHandler"> <level name="INFO"/> <file relative-to="jboss.server.log.dir" path=myapplog"/> </file-handler> <root-logger> <handlers> <handler name="myHandler"/> </handlers> </root-logger> </logging-profile> </logging-profiles> </subsystem>
And i need to configure on manifest.mf to take effect, bellow the setting:
Manifest-Version: 1.0 Class-Path: Logging-Profile: myapp
With this configuration i get in myapp.log all logs for my application, but i would like that logs were to the server.log also.
How can i generate logs on myapp.log and server.log ?
Thanks.
Unfortunately that's not supported. The best you can do is create a logger like com.your.package and assign a file handler to it on non-profile.
--
James R. Perkins