logger(1)
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)
Diagnostics
If the log file cannot be opened, logger writes a diagnostic
message to stderr and terminates with a non-zero exit value.
Notices
This command is a POSIX.2 command,
and should be used in preference to
the BSD version of logger.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004