- Fuse ESB 4.x
- Fuse ESB Enterprise
- Fuse MQ Enterprise
How to enable logging in FUSE ESB 4.x
The default logging level can be configured by editing <Fuse ESB 4.x>/etc/org.ops4j.pax.logging.cfg.
Log data is written to <Fuse ESB>/data/logs/servicemix.log.
The logging sub shell in the servicemix console can also be used to display logging information:
karaf@root>log:display -n 25
This displays the last 25 lines from the log.
This is equivalent to unix tail command and will keep appending new entries to the display whenever log is updated.
This displays the last exception thrown
This displays the current log level.
This dynamically sets the log level to DEBUG for all packages.
karaf@root>log:set DEBUG org.springframework
This dynamically sets the log level for the org.springframework package to DEBUG.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.