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)NAMElogger - make entries in the system logSYNOPSIStag] pri] file] [message...]DESCRIPTIONThe 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 INFLUENCESEnvironment 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.EXAMPLESSend 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:WARNINGSThe 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.AUTHORwas developed by the University of California, Berkeley.SEE ALSOsyslogd(1M), getlogin(3C), syslog(3C).STANDARDS CONFORMANCElogger(1)