Name

ErrorFile — specify error log filename

SYNOPSIS

filename

DESCRIPTION

Specify the error log file location.

The Interchange daemon must have the permission to create and write to the specified file.

When using the directive on a catalog level, specifying absolute filenames might not be allowed due to NoAbsolute.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive,
Catalog directive

EXAMPLES

Example: Setting ErrorFile

ErrorLog /var/log/interchange/error.log

NOTES

AVAILABILITY

ErrorFile is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 506

['ErrorFile',     'root_dir',          undef],

Source: lib/Vend/Config.pm
Line 3906 (context shows lines 3906-3913)

sub parse_root_dir {
my($var, $value) = @_;
return '' unless $value;
$value = "$Global::VendRoot/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
return $value;
}

Source: lib/Vend/Config.pm
Line 535

['ErrorFile',        'relative_dir',     'error.log'],

Source: lib/Vend/Config.pm
Line 3956 (context shows lines 3956-3970)

sub parse_relative_dir {
my($var, $value) = @_;

if (absolute_or_relative($value)) {
  config_error('Path %s not allowed in %s directive',
          $value, $var);
}

$C->{Source}{$var} = $value;

$value = "$C->{VendRoot}/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

SysLog(7ic), ErrorDestination(7ic), LogFile(7ic)

DocBook! Interchange!