hpux man page for logger

Query: logger

OS: hpux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

logger(1)						      General Commands Manual							 logger(1)

NAME
logger - make entries in the system log
SYNOPSIS
tag] pri] file] [message...]
DESCRIPTION
The command provides a program interface to the system log module (see syslog(3C)). 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. Options The command recognizes the following command-line options and arguments: Mark every line in the log with the specified tag. The default is the value returned by (see getlogin(3C)). If returns NULL, is the default. Enter the message with the specified priority. The priority can be specified numerically or as a pair. For example, logs the message or messages as level in the facility. The default is Log the process ID of the logger process with each line. Log the contents of the specified file. message The message to log; if not specified, the file specified by the option or standard input is logged.
EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty vari- able. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5). International Code Set Support Single- and multi-byte character code sets are supported.
EXAMPLES
Send the message to the daemon: Send output from the command (see users(1) to the daemon, marked as level and facility The message is tagged with the string Send the message to the daemon, at the level and facility:
WARNINGS
The command has no effect if the daemon (see syslogd(1M)) is not running on the system. Messages written in locales other than the POSIX/C locale are not supported.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
syslogd(1M), getlogin(3C), syslog(3C).
STANDARDS CONFORMANCE
logger(1)
Related Man Pages
logger(1) - centos
logger(1) - linux
logger(1) - osf1
openlog(3c) - hpux
setlogmask(3c) - hpux
Similar Topics in the Unix Linux Community
Retreive process output
some questions on 310-015
What does `?` mean for "who -T" ?
Reading command line arguments and setting up values if option not provided
/var/adm/messages empty