GNU Pies Manual (split by node):   Section:   Chapter:FastBack: Configuration   Up: Component Statement   FastForward: Pies Debugging   Contents: Table of ContentsIndex: Concept Index

3.2.7 Output Redirectors

Output redirectors allow to redirect the standard error and/or standard output of a component to a file or syslog facility.

Config: component: stderr type channel
Config: component: stdout type channel

Redirect standard error (if stderr) or standard output (if stdout) to the given channel.

The type of redirection is specified by type argument:

file

Redirect to a file. In this case channel gives the full name of the file. For example:

stderr file /var/log/component/name.err;
syslog

Redirect to a syslog channel. The syslog priority is given by the channel argument. Allowed values are: ‘emerg’, ‘alert’, ‘crit’, ‘err’, ‘warning’, ‘notice’, ‘info’, ‘debug’. The facility is inherited from the syslog statement (see syslog), or from the facility statement (see below), if given.

Example:

stderr syslog err;
Config: component: facility syslog-facility

Specify the syslog facility to use in syslog redirectors. Allowed syslog-facility values are: ‘user’, ‘daemon’, ‘auth’, ‘authpriv’, ‘mail’, ‘cron’, ‘local0’ through ‘local7’ (all names case-insensitive), or a facility number.

GNU Pies Manual (split by node):   Section:   Chapter:FastBack: Configuration   Up: Component Statement   FastForward: Pies Debugging   Contents: Table of ContentsIndex: Concept Index