rsyslog facilities and priorities

facilities and priorities 都是在syslog(3).

facility 设备 是下面的关键字中的一个:

auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as auth), syslog,
 user, uucp and local0 through local7.


关键字security  不能再被任何使用 标记为内部使用。


不能在被应用里被使用。

无论如何, 你可能需要指定和重定向那些消息。

facility  指定子系统产生消息。 


priority 优先级是下面关键词中的一个,升序:
 debug, info, notice, warning, warn (same as warning), err, error (same as err), 
crit, alert, emerg, panic (same as emerg).

关键字  error, warn and panic 是过时了不应该再被使用 优先级定义了消息的严重性。

原文地址:https://www.cnblogs.com/hzcya1995/p/13349635.html