1LOGGER(1) 386BSD Reference Manual LOGGER(1) 2 3NNAAMMEE 4 llooggggeerr - make entries in the system log 5 6SSYYNNOOPPSSIISS 7 llooggggeerr [--iiss] [--ff _f_i_l_e] [--pp _p_r_i] [--tt _t_a_g] [_m_e_s_s_a_g_e ...] 8 9DDEESSCCRRIIPPTTIIOONN 10 LLooggggeerr provides a shell command interface to the syslog(3) system log 11 module. 12 13 Options: 14 15 --ii Log the process id of the logger process with each line. 16 17 --ss Log the message to standard error, as well as the system log. 18 19 --ff _f_i_l_e Log the specified file. 20 21 --pp _p_r_i Enter the message with the specified priority. The priority may 22 be specified numerically or as a ``facility.level'' pair. For 23 example, ``-p local3.info'' logs the message(s) as _i_n_f_ormational 24 level in the _l_o_c_a_l_3 facility. The default is ``user.notice.'' 25 26 --tt _t_a_g Mark every line in the log with the specified _t_a_g. 27 28 _m_e_s_s_a_g_e Write the message to log; if not specified, and the --ff flag is 29 not provided, standard input is logged. 30 31 The llooggggeerr utility exits 0 on success, and >0 if an error occurs. 32 33EEXXAAMMPPLLEESS 34 logger System rebooted 35 36 logger -p local0.notice -t HOSTIDM -f /dev/idmc 37 38SSEEEE AALLSSOO 39 syslog(3), syslogd(8) 40 41SSTTAANNDDAARRDDSS 42 The llooggggeerr command is expected to be IEEE Std1003.2 (``POSIX'') 43 compatible. 44 454.3 Berkeley Distribution July 27, 1991 1 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67