Name

Logging — specify log granularity treshold

SYNOPSIS

integer_treshold

DESCRIPTION

This directive specifies the desired log granularity treshold.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Logging HTTP headers and POST data

Logging 6

Example: Disabling Logging

Logging 0

NOTES

This directive is currently largely unused in the code. The only two priority_integers used are 4 and 5.

When Logging is set to a value greater than 4, HTTP headers are logged. When Logging is set to a value greater than 5, contents of the POST HTML form submission are logged as well.

AVAILABILITY

Logging is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 510

['Logging',       'integer',        0],

Source: lib/Vend/Config.pm
Line 3992 (context shows lines 3992-3999)

sub parse_integer {
my($var, $value) = @_;
$value = hex($value) if $value =~ /^0x[\dA-Fa-f]+$/;
$value = oct($value) if $value =~ /^0[0-7]+$/;
config_error("The $var directive (now set to '$value') must be an integer\n")
  unless $value =~ /^\d+$/;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

SysLog(7ic)

DocBook! Interchange!