X-Git-Url: http://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/940be80e3e40dbbbd84161e1e5ae3abf0b2eadf6..5459351437f2b7b2a08457e5397f8a8381986ffe:/liblog/courierlogger.html diff --git a/liblog/courierlogger.html b/liblog/courierlogger.html index 29a7e39..c07c8a5 100644 --- a/liblog/courierlogger.html +++ b/liblog/courierlogger.html @@ -1,33 +1,33 @@ -courierlogger

Name

courierlogger — Courier syslog wrapper

Synopsis

courierlogger [-name=title] [-facility=subsystem] [-pid=filename] [-user=user] [-group=group] [-droproot] [[[-respawn] [-start] - program [argument...]] | [-stop] | [-restart]]

DESCRIPTION

+-->

Name

courierlogger — Courier syslog wrapper

Synopsis

courierlogger [-name=title] [-facility=subsystem] [-pid=filename] [-user=user] [-group=group] [-droproot] [[[-respawn] [-start] + program [argument...]] | [-stop] | [-restart]]

DESCRIPTION

courierlogger is a wrapper that captures another process's error messages, and forwards them to the system logging facility, -“syslog”.

+“syslog”.

There are two ways to use courierlogger: -

  1. +

    1. Use the shell to pipe another command's standard error, and/or its standard output, to -courierlogger's standard input.

    2. +courierlogger's standard input.

    3. Alternatively, courierlogger itself can start another process, and arrange to have its standard error captured.

    -In either case, each read line of text is sent as a syslog message.

OPTIONS

-name=title

+In either case, each read line of text is sent as a syslog message.

OPTIONS

-name=title

Use title for sending messages to syslog. title should be the application's name.

-facility=subsystem

Use subsystem for classifying messages. Your syslog facility uses subsystem to determine which log messages are recorded in which log files. -The currently defined subsystems are:

  • auth

  • authpriv

  • console

  • cron

  • daemon

  • ftp

  • kern

  • lpr

  • mail

  • news

  • security

  • user

  • uucp

  • local0

  • local1

  • local2

  • local3

  • local4

  • local5

  • local6

  • local7

Note

+The currently defined subsystems are:

  • auth

  • authpriv

  • console

  • cron

  • daemon

  • ftp

  • kern

  • lpr

  • mail

  • news

  • security

  • user

  • uucp

  • local0

  • local1

  • local2

  • local3

  • local4

  • local5

  • local6

  • local7

Note

Not all of the above facility names are implemented on every system. Check your system's syslog documentation for information on which facility names are allowed, and which log files record the corresponding messages @@ -85,5 +85,5 @@ will be started as a child process of courierlogger, capturing its standard error. Otherwise, courierlogger reads message from standard input, and automatically terminates when -standard input is closed.

SEE ALSO

+standard input is closed.

SEE ALSO

couriertcpd(1), your syslog man page.