Rsyslog Facilities

General support questions
Post Reply
shagun
Posts: 43
Joined: 2016/11/04 12:30:30

Rsyslog Facilities

Post by shagun » 2019/06/24 09:49:22

Hi,

I want to know the facilities of latest Rsyslog.
Please help.

Thanks and Regards,
Shagun

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Rsyslog Facilities

Post by TrevorH » 2019/06/24 14:50:47

See man rsyslog.conf
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

dunch
Posts: 66
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Rsyslog Facilities

Post by dunch » 2019/06/24 17:56:47

TrevorH wrote:
2019/06/24 14:50:47
See man rsyslog.conf
Good answer. I'd have said "it logs stuff".

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Rsyslog Facilities

Post by TrevorH » 2019/06/24 18:06:23

A "facility" is a logging concept and they are listed in the man page

Code: Select all

SELECTORS
       The selector field itself again consists of two parts, a facility and a priority, separated by a period  ('.').  Both
       parts  are  case  insensitive  and can also be specified as decimal numbers, but don't do that, you have been warned.
       Both facilities and priorities are described in syslog(3). The  names  mentioned  below  correspond  to  the  similar
       LOG_-values in /usr/include/syslog.h.

       The  facility  is  one of the following keywords: auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security
       (same as auth), syslog, user, uucp and local0 through local7. The keyword security should not  be  used  anymore  and
       mark  is only for internal use and therefore should not be used in applications.  Anyway, you may want to specify and
       redirect these messages here. The facility specifies the subsystem that produced the message, i.e. all mail  programs
       log with the mail facility (LOG_MAIL) if they log using syslog.
There's more there on the subject or similar.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply