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 â Courier syslog wrapper
courierlogger
[-name=title
] [-facility=subsystem
] [-pid=filename
] [-user=user
] [-group=group
] [-droproot] [[[-respawn] [-start]
- program
[argument...]] | [-stop] | [-restart]]
+-->
courierlogger â Courier syslog wrapper
courierlogger
[-name=title
] [-facility=subsystem
] [-pid=filename
] [-user=user
] [-group=group
] [-droproot] [[[-respawn] [-start]
+ program
[argument...]] | [-stop] | [-restart]]
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: -
+
Use the shell to pipe another command's standard error, and/or its standard output, to -courierlogger's standard input.
+courierlogger's standard input.
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.
title
+In either case, each read line of text is sent as a syslog message.
title
Use title
for sending messages to syslog.
title
should be the application's name.
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
+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
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.