logger(1) logger(1)
NAME
logger - log messages
SYNOPSIS
logger string . . .
DESCRIPTION
logger saves all the string arguments to a log file so the
system administrator can later read them. Note that the
string arguments are treated as normal arguments by the shell,
and may need quoting to avoid expansion.
Each string is written to the log, separated by a single
space. The list of strings are preceded by the string
``UX:logger:INFO:''.
No output is written to stdout.
FILES
/dev/conslog
file to which the log is written (the log file)
/usr/lib/locale/locale/LC_MESSAGES/uxcore
language-specific message file [See LANG on environ(5).]
REFERENCES
logger(1BSD), the BSD command
DIAGNOSTICS
If the log file cannot be opened, logger writes a diagnostic
message to stderr and terminates with a non-zero exit value.
NOTES
This command is a POSIX.2 command, and should be used in
preference to the BSD version of logger.
Copyright 1994 Novell, Inc. Page 1