{"id":210,"date":"2006-06-22T19:45:00","date_gmt":"2006-06-22T19:45:00","guid":{"rendered":"http:\/\/www.bullit.net\/al\/wordpress\/?p=210"},"modified":"2007-09-23T14:26:13","modified_gmt":"2007-09-23T13:26:13","slug":"apache-log-managament","status":"publish","type":"post","link":"https:\/\/www.bullit.net\/al\/2006\/06\/22\/apache-log-managament\/","title":{"rendered":"Apache log managament."},"content":{"rendered":"<p>In the old days I would move the Apache logs to one side, renaming them as I went, then restart the Apache. When I could use a &#8216;graceful&#8217; restart this wasn&#8217;t to bad, but now I need to use a &#8216;restart&#8217; (&#8216;cos graceful seems to bork with PHP) I feel uncomfortable about kicking out connections. So I was looking for options I came across something I should have known about before, but didn&#8217;t, &#8220;<a href=\"http:\/\/httpd.apache.org\/docs\/2.0\/programs\/rotatelogs.html\">rotatelogs &#8211; Piped logging program to rotate Apache logs<\/a>&#8220;. This seems like a nice solution, but I worry about reliability etc. Has anyone any experience of doing things this way? I would be interested to hear about them \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the old days I would move the Apache logs to one side, renaming them as I went, then restart the Apache. When I could use a &#8216;graceful&#8217; restart this wasn&#8217;t to bad, but now I need to use a &#8216;restart&#8217; (&#8216;cos graceful seems to bork with PHP) I feel uncomfortable about kicking out connections. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-colo","category-tech"],"_links":{"self":[{"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":0,"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bullit.net\/al\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}