I want to use the logging subsystem for the Wildfly server for my application. With the help of some blogs online, i added a logging profile for my application in standalone.xml.
<logging-profiles>
<logging-profile name="myapp">
<size-rotating-file-handler name="SIZE" autoflush="true">
<level name="ALL"/>
<file relative-to="jboss.server.log.dir" path="myapp.log"/>
<append value="true"/>
</size-rotating-file-handler>
<logger category="com.myapp.logs" use-parent-handlers="false">
<level name="ALL"/>
<handlers>
<handler name="SIZE"/>
</handlers>
</logger>
<root-logger>
<level name="INFO"/>
<handlers>
<handler name="SIZE"/>
</handlers>
</root-logger>
</logging-profile>
</logging-profiles>
I also added the logger profile in Manifest.mf
Manifest-Version: 1.0
Class-Path:
Logging-Profile: myapp
Now the application logging is working fine, but i would like to know if this can be configured from the management console itself. I tried many times, but failed. And this logging profile is nowhere seen in management console. Am i doing anything wrong here?
Note: I want to keep the application logs separate from server logs.