|
发表于 2011-5-23 23:16:11
|
显示全部楼层
这个命令属于软件包bsdutils,查查manpage就知道了,logger给syslog提供了一个入口,是记录系统日志用的。放着就好。
你的 logger估计是在记录你安装的mysql服务的出错信息。
附:logger的manpage摘选
[html]
NAME
logger — a shell command interface to the syslog(3) system log module
SYNOPSIS
logger [-isd] [-f file] [-p pri] [-t tag] [-u socket] [message ...]
DESCRIPTION
Logger makes entries in the system log. It provides a shell command interface to the syslog(3) system log module.
[/html]
......
[html]
-p pri 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 informational level in the local3 facility. The default is ``user.notice.''
-t tag Mark every line in the log with the specified tag.
[/html] |
|