{"id":2521,"date":"2016-07-16T08:16:01","date_gmt":"2016-07-16T15:16:01","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2521"},"modified":"2016-07-16T08:16:01","modified_gmt":"2016-07-16T15:16:01","slug":"apache-not-creating-log-files","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2521","title":{"rendered":"Apache not creating log files."},"content":{"rendered":"<p>My Apache log files are not set up to be rotated\u2014not sure why my Ubuntu install didn\u2019t do that. But there are dozens of them and rather than clearing them out individually, I decided to delete all of them. After I deleted them, Apache didn\u2019t recreate them. It turns out that Apache creates them when it is restarted so a restart of Apache recreated the files. I like to edit them with BBEdit, so I needed to also change permissions and the group.<br \/>\n<pre><code class=\"preserve-code-formatting\">\nsudo chmod -R u+rwX,go+rwX,o-w .\nsudo chgrp adm *<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Apache log files are not set up to be rotated\u2014not sure why my Ubuntu install didn\u2019t do that. But there are dozens of them and rather than clearing them out individually, I decided to delete all of them. After I deleted them, Apache didn\u2019t recreate them. It turns out that Apache creates them when &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2521\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Apache not creating log files.<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2521","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2521"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2521\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}