Loading...
 

Error_Log_Level

Error_Log_Level


(since 1.0)

Description


A number that controls what shall be logged to the error log. Add these numbers to get the desired "log level":
  • Fatal errors: 1
  • Errors: 2
  • Warnings: 4
  • Informational Messages: 8
  • Statistical Messages: 16
  • Debug Messages 32
  • NN 64
  • SQL Tracing: 128
  • NN 256
  • NN 1024
  • Trace function calls: 2048
  • NN 4096

The levels with "NN" are for further extensions and subject to change. See examples below.

Config file options


Error_Log_Level

Command line options


--error-log-level

Examples


Log everything:
Error_Log_Level="8191"

Log fatal, error and warnings (1+2+4)
Error_Log_Level="7"

Log fatal, error, warnings and trace sql calls (+128):
Error_Log_Level="135"

Recommended (fatal, error, warning and informational):
Error_Log_Level="15"

Contributors to this page: redflo .
Page last modified on Thursday 24 of January, 2008 21:22:39 UTC by redflo.

Shoutbox

redflo, 14:25 UTC, Sun 10 of Apr, 2005: No, lneuxyuhje, this shall write to a pipe not to a file and so ">" is o.k.
lneuxyuhje, 15:14 UTC, Thu 07 of Apr, 2005: is ">" meant to be ">>" in /usr/local/perfparse/bin/perfparse_nagios_pipe_command.pl ?
redflo, 08:35 UTC, Tue 05 of Apr, 2005: fhdplbvjipsld, it works now. Permissions were wrong.
fhdplbvjipsld, 14:42 UTC, Wed 30 of Mar, 2005: How to post to Forums->Help?
benclewett, 09:27 UTC, Thu 03 of Feb, 2005: Hi Jon! I hope you like our wiki site.