[EMAIL PROTECTED] (Nathan Myers) writes:
> Not so fast... logger just writes its arguments to syslog. I don't
> see any indication that it (portably) reads its standard input.
FWIW, the HPUX 10.20 man page for logger sez:
A message can be given on the command line, which is logged
immediately, or a file is read and each line is logged. If no file or
message is specified, the contents of the standard input are logged.
and they also claim
STANDARDS CONFORMANCE
logger: XPG4, POSIX.2
The fact that it's POSIX.2 rather than POSIX.1 might worry folks, but
I suspect the majority of systems will have it if they have syslog.
(Curiously, the HP man pages do not say that syslog(3) or syslogd(1m)
conform to *any* standard ... hmm ... is logger more portable than
syslog?)
regards, tom lane
- Re: [HACKERS] Syslog and pg_options (for RPMs) Lamar Owen
- Re: [HACKERS] Syslog and pg_options (for RPMs) Bruce Momjian
- Re: [HACKERS] Syslog and pg_options (for RPMs) Bruce Momjian
- Re: [HACKERS] Syslog and pg_options (for RPMs) Lamar Owen
- Re: [HACKERS] Syslog and pg_options (for RPMs) Tom Lane
- Re: [HACKERS] Syslog and pg_options (for RP... Bruce Momjian
- Re: [HACKERS] Syslog and pg_options (fo... Lamar Owen
- Re: [HACKERS] Syslog and pg_option... Dominic J. Eidson
- Re: [HACKERS] Syslog and pg_op... Lamar Owen
- Re: [HACKERS] Syslog and pg_op... Nathan Myers
- Re: [HACKERS] Syslog and pg_op... Tom Lane
- Re: [HACKERS] Syslog and pg_op... Nathan Myers
- Re: [HACKERS] Syslog and pg_op... Tom Lane
- Re: [HACKERS] Syslog and pg_op... Dominic J. Eidson
- Re: [HACKERS] Syslog and pg_op... Lamar Owen
- Re: [HACKERS] Syslog and pg_op... Nathan Myers
- Re: [HACKERS] Syslog and pg_op... Tom Lane
- Re: [HACKERS] Syslog and pg_op... Ian Lance Taylor
- Re: [HACKERS] Syslog and pg_op... Vince Vielhaber
- Re: [HACKERS] Syslog and pg_op... Nathan Myers
- Re: [HACKERS] Syslog and pg_op... Oleg Bartunov
