{"id":1197,"date":"2014-09-24T01:28:34","date_gmt":"2014-09-24T01:28:34","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=1197"},"modified":"2014-09-24T01:28:34","modified_gmt":"2014-09-24T01:28:34","slug":"there-is-no-varlogmessages-on-ubuntu-server","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=1197","title":{"rendered":"There is no \/var\/log\/messages on Ubuntu server"},"content":{"rendered":"<p>On later versions of Ubuntu, the \/var\/log\/messages is not on by default.<br \/>\nSince I use it for some applications, here are the steps I used to enable it:<\/p>\n<p>Edit the file \/etc\/rsyslog.d\/50-default.conf and uncomment the four lines:<br \/>\n(starts at line #38 on the current system I&#8217;m working on, Ubuntu 12.04)<\/p>\n<blockquote><p>*.=info;*.=notice;*.=warn;\\<br \/>\n        auth,authpriv.none;\\<br \/>\n        cron,daemon.none;\\<br \/>\n        mail,news.none          -\/var\/log\/messages\n<\/p><\/blockquote>\n<p>Then restart syslog like this: <\/p>\n<blockquote><p>restart rsyslog<\/p><\/blockquote>\n<p>That&#8217;s it &#8211; \/var\/log\/messages should now be there, just like the good old days!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On later versions of Ubuntu, the \/var\/log\/messages is not on by default. Since I use it for some applications, here are the steps I used to enable it: Edit the file \/etc\/rsyslog.d\/50-default.conf and uncomment the four lines: (starts at line &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=1197\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1197"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1197"}],"version-history":[{"count":1,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions"}],"predecessor-version":[{"id":1198,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions\/1198"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}