For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

ErrorDestination

Route error messages to named files, based upon the ICML tag that raised the error.

Synopsis

ErrorDestination  tagname  filename

You can set multiple values at once by using the Perl-style "here document" syntax, as follows:

ErrorDestination  <<EOE
    tagname1  filename1
    tagname2  filename2
EOE

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Availability

Availability

This directive was introduced in version 5.4.0, and is therefore not available for use with any earlier Interchange version.

Description

This directive allows error messages to be sent to different files, depending upon the name of the Interchange markup language tag that raised the error.

For example, you can use the following to send all error messages raised by the [foo] tag to a named file, and all errors raised by the [bar] tag to different file:

ErrorDestination <<EOE
    foo  logs/foo_errors.log
    bar  logs/bar_errors.log
EOE

Error messages that are not rerouted by this directive will be sent to the ErrorFile, as usual.

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Monday 2 July 2007 at 12:55 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us