{"id":1369,"date":"2015-10-30T15:58:40","date_gmt":"2015-10-30T22:58:40","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1369"},"modified":"2015-10-30T15:58:40","modified_gmt":"2015-10-30T22:58:40","slug":"ubuntu-varlogsyslog-not-rotating","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1369","title":{"rendered":"Ubuntu &#8211; \/var\/log\/syslog not rotating."},"content":{"rendered":"<p>I was having trouble with any of the logs managed by rsyslog not rotating.  This resulted in a number of huge log files, especially the \/var\/log\/syslog file.  Not only those but also others from remote systems since I was using this server as a syslog server.<\/p>\n<p>All I needed to do is comment out the following line in the \/etc\/rsyslog.conf file:<\/p>\n<blockquote><p>$PrivDropToUser syslog<\/p><\/blockquote>\n<p>I restarted the rsyslog service.<\/p>\n<blockquote><p># service rsyslog restart<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I was having trouble with any of the logs managed by rsyslog not rotating. This resulted in a number of huge log files, especially the \/var\/log\/syslog file. Not only those but also others from remote systems since I was using this server as a syslog server. All I needed to do is comment out the [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[419,132],"class_list":["post-1369","post","type-post","status-publish","format-standard","hentry","category-computer-related-notes","tag-syslog","tag-ubuntu"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1369"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":1370,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1369\/revisions\/1370"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}