|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted ! 5: .\" provided that the above copyright notice and this paragraph are ! 6: .\" duplicated in all such forms and that any documentation, ! 7: .\" advertising materials, and other materials related to such ! 8: .\" distribution and use acknowledge that the software was developed ! 9: .\" by the University of California, Berkeley. The name of the ! 10: .\" University may not be used to endorse or promote products derived ! 11: .\" from this software without specific prior written permission. ! 12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 15: .\" ! 16: .\" @(#)logger.1 6.3 (Berkeley) 7/9/88 ! 17: .\" ! 18: .TH LOGGER 1 "July 9, 1988" ! 19: .UC 6 ! 20: .SH NAME ! 21: logger \- make entries in the system log ! 22: .SH SYNOPSIS ! 23: .B logger ! 24: [ ! 25: .B \-t ! 26: tag ! 27: ] [ ! 28: .B \-p ! 29: pri ! 30: ] [ ! 31: .B \-i ! 32: ] [ ! 33: .B \-f ! 34: file ! 35: ] [ ! 36: message ... ! 37: ] ! 38: .SH ARGUMENTS ! 39: .TP 12n ! 40: .BI \-t \ tag ! 41: Mark every line in the log with the specified ! 42: .IR tag . ! 43: .TP ! 44: .BI \-p \ pri ! 45: Enter the message with the specified priority. ! 46: The priority may be specified numerically ! 47: or as a ``facility.level'' ! 48: pair. ! 49: For example, ``\-p local3.info'' ! 50: logs the message(s) as ! 51: .IR info rmational ! 52: level in the ! 53: .I local3 ! 54: facility. ! 55: The default is ``user.notice.'' ! 56: .TP ! 57: .B \-i ! 58: Log the process id of the logger process ! 59: with each line. ! 60: .TP ! 61: .BI \-f \ file ! 62: Log the specified file. ! 63: .TP ! 64: message ! 65: The message to log; if not specified, and the \fB-f\fP flag is not ! 66: provided, standard input is logged. ! 67: .SH DESCRIPTION ! 68: .I Logger ! 69: provides a program interface to the ! 70: .IR syslog (3) ! 71: system log module. ! 72: .SH EXAMPLES ! 73: logger System rebooted ! 74: .PP ! 75: logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc ! 76: .SH SEE ALSO ! 77: syslog(3), ! 78: syslogd(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.