There are three ways you can view the log:
using a text editor
using the broker's, or a remote broker's, console
using the administration client
The log files are stored as simple text files in
. The main log file is
InstallDir/data/logkaraf.log. If archiving is turned on, there may be archived log files
also stored in the logging directory.
Log entries are listed in chronological order with the oldest entries first. The default output displays the following information:
the time of the entry
the log level of the entry
the thread that generated the entry
the bundle that generated the entry
an informational message about the cause of the entry
The Fuse MQ Enterprise console provides the following commands for viewing the log:
log:display—displays the most recent log entries
By default, the number of entries returned and the pattern of the output depends on the size and pattern properties in the
org.apache.karaf.log.cfgfile. You can override these using the-pand-darguments.log:display-exception—displays the most recently logged exception
log:tail—continuously display log entries
For more information on using these commands see Log Console Commands in Console Reference.








