25

A previous poster on the regular forums ( http://ubuntuforums.org/showthread.php?t=843991 ) said /var/log/daemon.log, but I don't seem to have such a file. Do I need to enable logging?

18

You can find the Network Manager logs in /var/log/syslog, which acts as a catch-all for log messages (unless you have changed rsyslog's default configuration).

  • Try setting log to "info" first: sudo dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.SetLogging string:"info" string:"" (from live.gnome.org/NetworkManager/Debugging) – Savvas Radevic Jan 27 '12 at 10:30
19

The answers are now obsolete (2017), the logs are now here

journalctl -u NetworkManager

  • journalctl -f -u NetworkManager is better to following logs – stokito Jun 21 '18 at 18:27
0

To reiterate Where are NetworkManager log files located for the network-manager package:

From the man pages:

man NetworkManager

  --log-domains=<domain1>,<domain2>, ...
         Sets which operations are logged to the log destination (usually syslog).   By  default,
         most  domains  are  logging-enabled.  See NetworkManager.conf(5) for more information on
         log levels and domains.
0

If you're using Ubuntu 16.04 or later,

journalctl /usr/sbin/NetworkManager

should show all the NetworkManager logs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.