这是我在
如何查看消息的级别,比如信息、警告、错误等?
我正在使用Ubuntu 10.04 LTS,rsyslog软件包版本为5.8.1-1ubuntu2。
/var/log/syslog
中的系统日志消息的示例输出:Nov 15 20:20:48 ubuntu winbindd[915]: [2011/11/15 20:20:48.940063, 0] winbindd/idmap_tdb.c:287(idmap_tdb_open_db)
Nov 15 20:20:48 ubuntu winbindd[915]: Upgrade of IDMAP_VERSION from -1 to 2 is not possible with incomplete configuration
如何查看消息的级别,比如信息、警告、错误等?
我正在使用Ubuntu 10.04 LTS,rsyslog软件包版本为5.8.1-1ubuntu2。
%pri-text%
,它会给出local7.info
或者kern.log
。 - Ciprian Tomoiagă