[CentOS] Problem with IPTABLES logging message to the screen/console
Anthony K
akcentos at anroet.comSun Aug 6 10:03:53 UTC 2017
- Previous message: [CentOS] Problem with IPTABLES logging message to the screen/console
- Next message: [CentOS] What RH-like on a Dell XPS 15 (9590)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02/08/17 13:32, Jobst Schmalenbach wrote:
> How can I solve this that those messages are NOT printed.
I think you are after *dmesg -n alert*
man dmesg
...
-n, --console-level level
Set the level at which printing of messages is done to
the con‐
sole. The level is a level number or abbreviation of
the level
name. For all supported levels see the --help output.
For example, -n 1 or -n alert prevents all messages,
except
emergency (panic) messages, from appearing on the
console. All
levels of messages are still written to /proc/kmsg,
so sys‐
logd(8) can still be used to control exactly where
kernel mes‐
sages appear. When the -n option is used, dmesg will
not print
or clear the kernel ring buffer.
...
- Previous message: [CentOS] Problem with IPTABLES logging message to the screen/console
- Next message: [CentOS] What RH-like on a Dell XPS 15 (9590)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list