Re: How to disable nm-dispatcher logs from Centos console.

On Fri, 2018-06-08 at 05:56 +0000, Veetil, Vyshnav wrote:
After upgraded to CentOS7.4 we are getting some logs printed on the
Nm-dispatcher logs are getting printed on the console after every
reboot and after executing the command
service NetworkManager restart.
NetworkManager-1.8.0-9.el7.x86_64 is the rpm which we are using in
our system.
Please find the attached conf file ,which we are using .
Please find the nm-dispatcher logs getting printed on the console.
localhost login:nm-dispatcher:req:1 ‘hostname’:new request (4
nm-dispatcher: req:2 ‘up’ [eth0]: new request (4 scripts)
nm-dispatcher: req:2 ‘up’ [eth0]: start running ordered scripts…
nm-dispatcher: req:3 ‘connectivity-change’: new request (4 scripts)
nm-dispatcher: req:4 ‘hostname’:new request (4 scripts)
nm-dispatcher: req:4 ‘hostname’:start running ordered scripts…


These messages are printed by "nm-dispatcher" (in systemd, the service
is called NetworkManager-dispatcher.service).

The NetwokManager.conf configuration primarily affects what
NetworkManager itself (NetworkManager.service) prints.

With the additional behavior, that when you enable
  domains=DISPATCH (or ALL, or DEFAULT)
then also nm-dispatcher will log additional Debugging logs.

The logs you are seeing are logged by nm-dispatcher with info level.
These cannot be disabled.

Well, actually, nm-dispatcher uses syslog (journald).
The intended way to configure this, is by configuring syslog/journal

For example, `man systemd.exec` explains a "LogLevelMax" parameter.
Though, I don't know if that is available on CentOS 7.4 (because it's
rather new). But surely, there are ways to configure syslog...


Can you please provide a solution for disabling this logs from
console ?
Thanks and Regards,
networkmanager-list mailing list
networkmanager-list gnome org

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]