Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
logger(1)
Edit
PageHistory
Diff
Info
LikePages
---- __NAME__ logger - make entries in the system log __SYNOPSIS__ logger [[-isd] [[-f file] [[-p pri] [[-t tag] [[-u socket] [[message ...] __DESCRIPTION__ Logger provides a shell command interface to the syslog(3) system log module. Options: -i Log the process id of the logger process with eachline. -sLog the message to standard error, as well as thesystem log.-f fileLog the specified file.-p priEnter the message with the specified priority. Thepriority may be specified numerically or as a``facility.level'' pair. For example, ``-plocal3.info'' logs the message(s) as informationallevel in the local3 facility. The default is``user.notice.''-t tagMark every line in the log with the specified tag.-u sockWrite to socket as specified with socket instead ofbuiltin syslog routines.-dUse a datagram instead of a stream connection tothis socket.--End the argument list. This is to allow the messageto start with a hyphen (-).messageWrite the message to log; if not specified, and the-f flag is not provided, standard input is logged.The logger utility exits 0 on success, and (3). __EXAMPLES__ logger System rebooted logger -p local0.notice -t HOSTIDM -f /dev/idmc __SEE ALSO__ syslog(3), syslogd(8) __STANDARDS__ The logger command is expected to be IEEE Std 1003.2 (`` POSIX .2'') compatible. 4.3 Berkeley Distribution June 6, 1993 1 ----
6 pages link to
logger(1)
:
openlog(3)
Man1l
sysklogd(8)
syslog(3)
closelog(3)
syslog.conf(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.