39

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?

Braiam
  • 69,112
gatoatigrado
  • 1,883

4 Answers4

43

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.

Karel Bílek
  • 2,534
21

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).

1

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.
jmunsch
  • 2,293
  • 1
  • 24
  • 30
0

If you're using Ubuntu 16.04 or later,

journalctl /usr/sbin/NetworkManager

should show all the NetworkManager logs.

waltinator
  • 37,856