![]() ![]() Send all kernel related messaged to /var/log/kernel kern.* /var/log/kernel Send all emergency-level messages to all users who are logged into the computer using text-mode tools. Send critical kernel messages to kern.crit mail related messages of all security level to /var/log/mail mail.* /var/log/mail The following examples can be defined in /etc/nf Remote logging location can be specified by preceding the remote machine with an at sign Examples of Facility/Priority-based Filters.In most cases, the actionparameter is a filename, typically in the /var/log directory tree e.g messages, syslog, and secure files.Rsyslog logs messages with the defined or higher priority e.g if you define alert level, the system will log messages that are classified as alert or emerg but not messages of crit or below.Note that each selector in the selector field is capable of overwriting the preceding ones, which can exclude some priorities from the pattern.multiple selectors can be defined on one line by separating them with a semi-colon ( ).Multiple facilities and priorities can be defined by separating them with a comma (,).Both facility and priority conditions are case-insensitive. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |