THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The configuration of the logging system uses a standard Log4j configuration file at the following location:
Code Block |
---|
[SMX4KNL:kernelkaraf]/etc/org.ops4j.pax.logging.cfg |
...
The log subshell comes with 3 commands:
ld
orlog/:display
: display the last log entrieslde
orlog/:display-exception
: display the last exception from the loglog/:get
: show the log levelslog/:set
: set the log levels
For example, if you want to debug something, you might want to run the following commands:
Code Block |
---|
> log/:set DEBUG ... do something ... > ldlog:display |
Note that the log levels set using the log:set
commands are not persistent and will be lost upon restart.
To configure those in a persistent way, you should edit the configuration file mentioned above.
4.3. Logging system #top
Wiki Markup |
---|
{scrollbar} |