|
|
1.1 ! root 1: .\" @(#)logger.8 1.1 12/2/83 ! 2: .TH LOGGER 1 ! 3: .SH NAME ! 4: logger \(em make entries in the system log ! 5: .SH SYNOPSIS ! 6: .B logger ! 7: [ ! 8: .B \-t ! 9: tag ! 10: ] [ ! 11: .B \-p ! 12: pri ! 13: ] [ ! 14: .B \-i ! 15: ] [ ! 16: .B \-f ! 17: file ! 18: ] [ ! 19: message ... ! 20: ] ! 21: .SH ARGUMENTS ! 22: .TP 12n ! 23: .BI \-t tag ! 24: Mark every line in the log with the specified ! 25: .IR tag . ! 26: .TP ! 27: .BI \-p pri ! 28: Enter the message with the specified priority. ! 29: .TP ! 30: .B \-i ! 31: Log the process id of the logger process ! 32: with each line. ! 33: .TP ! 34: .BI \-f file ! 35: Log the specified file. ! 36: .TP ! 37: message ! 38: The message to log; ! 39: if not specified, ! 40: the ! 41: .B \-f ! 42: file or standard input is logged. ! 43: .SH DESCRIPTION ! 44: .I Logger ! 45: provides a program interface to the ! 46: .IR syslog (3) ! 47: system log module. ! 48: .PP ! 49: A message can be given on the command line, ! 50: which is logged immediately, ! 51: or a file is read and each line is logged. ! 52: .SH EXAMPLES ! 53: logger System rebooted ! 54: .PP ! 55: logger \-t HOSTIDM \-f /dev/idmc ! 56: .SH SEE ALSO ! 57: syslog(3), ! 58: syslog(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.