Ubuntu 16.04 上的大量日志文件

Ubuntu 16.04 上的大量日志文件

我最近安装了 Ubuntu 16.04。由于某种原因,我有大量日志文件。

例如:kern.log 有 10.5 GB 大,而 syslog 有 152 MB。

我已经尝试旋转它们,但我想知道是什么让它们变得这么大。

这是的结果tail kern.log

Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.4140] device (wlxd85d4c99fb61): state change: secondaries -> activated (reason 'none') [90 100 0]
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.4142] manager: NetworkManager state is now CONNECTED_LOCAL   
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.4839] manager: NetworkManager state is now CONNECTED_GLOBAL  
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.4841] policy: set 'dlink-323' (wlxd85d4c99fb61) as default for IPv4 routing and DNS
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.4842] DNS: starting dnsmasq...   
Jun 17 17:23:24 Master NetworkManager[782]: <warn>  [1466195004.5002] dnsmasq[0x215ef40]: dnsmasq not found on the bus. The nameserver update will be sent when dnsmasq appears   
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.5003] dns-mgr: Writing DNS information to /sbin/resolvconf   
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.6916] device (wlxd85d4c99fb61): Activation: successful, device activated.
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.7009] dnsmasq[0x215ef40]: dnsmasq appeared as :1.69
Jun 17 17:23:24 Master NetworkManager[782]: <info>  [1466195004.7011] dns-mgr: Writing DNS information to /sbin/resolvconf

“Master” 是我电脑的名称,“dlink-323” 是我连接的 wifi 网络的名称。

这里发生了什么?

我没有任何防火墙、特殊 DNS 设置或任何东西。只有普通的 WiFi 连接。热点上也没有防火墙。

这是输出tail syslog

Jun 17 17:36:56 Master dbus[721]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jun 17 17:36:56 Master systemd[1]: Starting Hostname Service...
Jun 17 17:36:56 Master dbus[721]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jun 17 17:36:56 Master systemd[1]: Started Hostname Service.
Jun 17 17:38:32 Master dbus[721]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jun 17 17:38:32 Master systemd[1]: Starting Hostname Service...
Jun 17 17:38:32 Master dbus[721]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jun 17 17:38:32 Master systemd[1]: Started Hostname Service.
Jun 17 17:38:35 Master gnome-session[1154]: Nautilus-Share-Message: Called "net usershare info" but it failed: Failed to execute child process "net" (No such file or directory)
Jun 17 17:46:45 Master org.gnome.zeitgeist.SimpleIndexer[1042]: ** (zeitgeist-fts:1497): WARNING **: Unable to get info on application://gnome-terminal-server.desktop

Ubuntu 会记录所有网络流量吗?如果是的话,我该如何阻止它?

谢谢!

相关内容