To activate logging for a specific category (path/class) from a deployed application follow these steps:
- Open the Wildfly Admin Console
- Switch to “Configuration -> Subsystem :Logging”
- Change the Console Loglevel to ‘FINE’ (or higher in case you need finer log levels) – default is ‘INFO’
- Add a new Log Category (Tab: Log Categories) with the following settings:
- Category = package or class
- Level = FINE (or higher in case you need finer log levels)
- Use parent handler=true