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?
4 Answers
The answers are now obsolete (2017), the logs are now here
journalctl -u NetworkManager
NOTE: this will display all NetworkManager's log since it has been installed. If you want to limit the amount of logs to the time the system has been booted instead, use the -b
option: journalctl -b 0 -u NetworkManager
.
See the man page of journalctl(1) for further options and filters.
-
8
journalctl -f -u NetworkManager
is better to following logs Jun 21, 2018 at 18:27 -
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) Jan 27, 2012 at 10:30
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.
If you're using Ubuntu 16.04 or later,
journalctl /usr/sbin/NetworkManager
should show all the NetworkManager logs.