[0m


LOGGER(1)	    UNIX Programmer's Manual		LOGGER(1)



[1mNAME
     [0mlogger - make entries in the system log

[1mSYNOPSIS
     logger [0m[ [1m-t [0mtag ] [ [1m-p [0mpri ] [ [1m-i [0m] [ [1m-f [0mfile ] [ message
     ...  ]

[1mARGUMENTS
     -t [0m_t_a_g	 Mark every line in the log with the specified
		 _t_a_g.

     [1m-p [0m_p_r_i	 Enter the message with the specified priority.
		 The priority 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.''

     [1m-i          [0mLog the process id of the logger process with
		 each line.

     [1m-f [0m_f_i_l_e	 Log the specified file.

     message	 The message to log; if not specified, the [1m-f
		 [0mfile or standard input is logged.

[1mDESCRIPTION
     [0m_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
     immediately, or a file is read and each line is logged.

[1mEXAMPLES
     [0mlogger System rebooted

     logger -p local0.notice -t HOSTIDM -f /dev/idmc

[1mSEE ALSO
     [0msyslog(3), syslogd(8)















Printed 31/1/92     Revision 1.2 of 19/10/88			1



[0m