LOGGER(1) LOGGER(1) NAME logger - make entries in the system log SYNOPSIS logger [ -t tag ] [ -p pri ] [ -i ] [ -f file ] [ message ... ] ARGUMENTS -t _t_a_g Mark every line in the log with the specified _t_a_g. -p _p_r_i Enter the message with the specified priority. The prior‐ ity may be specified numerically or as a ‘‘facility.level’’ pair. For example, ‘‘-p local3.info’’ logs the message(s) as _i_n_f_ormational level in the _l_o_c_a_l_3 facility. The default is ‘‘user.notice.’’ -i Log the process id of the logger process with each line. -f _f_i_l_e Log the specified file. message The message to log; if not specified, the -f file or stan‐ dard input is logged. DESCRIPTION _L_o_g_g_e_r provides a program interface to the _s_y_s_l_o_g(3) system log module. A message can be given on the command line, which is logged immedi‐ ately, or a file is read and each line is logged. EXAMPLES logger System rebooted logger -p local0.notice -t HOSTIDM -f /dev/idmc SEE ALSO syslog(3), syslogd(8) 4.3 Berkeley Distribution September 17, 1985 LOGGER(1)