To get more verbose log output, you have to create a .thruk
file in the
home directory of the Thruk user (usually the webserver user) or in case of
OMD in the site folder.
The following locations will work depending on your setup:
-
~/.thruk
-
/etc/sysconfig/thruk
-
/etc/default/thruk
Then put in the following settings inside:
to increase the loglevel: (valid loglevels are 0-4 with 4 being most verbose)
to track all requests with their cpu and memory usage:
export THRUK_PERFORMANCE_DEBUG=1
Example 1. increase log threshold
|
You also have to adjust the loglevel threshold in /etc/thruk/log4perl.conf .
|
ex.: log4perl.appender.ThrukLog.Threshold=DEBUG
Also some log output will end up in the apache errorlog.