{"action":"created","issue":{"url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/51","repository_url":"https://api.github.com/repos/cerner/cerner_tomcat","labels_url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/51/comments","events_url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/51/events","html_url":"https://github.com/cerner/cerner_tomcat/issues/51","id":263969070,"number":51,"title":"Default configuration is incompatible with logrotate","user":{"login":"nibroc","id":892339,"avatar_url":"https://avatars3.githubusercontent.com/u/892339?v=4","gravatar_id":"","url":"https://api.github.com/users/nibroc","html_url":"https://github.com/nibroc","followers_url":"https://api.github.com/users/nibroc/followers","following_url":"https://api.github.com/users/nibroc/following{/other_user}","gists_url":"https://api.github.com/users/nibroc/gists{/gist_id}","starred_url":"https://api.github.com/users/nibroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibroc/subscriptions","organizations_url":"https://api.github.com/users/nibroc/orgs","repos_url":"https://api.github.com/users/nibroc/repos","events_url":"https://api.github.com/users/nibroc/events{/privacy}","received_events_url":"https://api.github.com/users/nibroc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-09T17:23:57Z","updated_at":"2017-10-24T19:35:30Z","closed_at":null,"author_association":"NONE","body":"This cookbooks sets up log rotation for `*.log` and `*.out` files, but the way Tomcat writes out files with the default configuration, log rotation isn't quite right. In particular, Tomcat writes out the access log, the catalina log (not catalina.out), and the localhost log with date suffixies. Since log rotate expects to operate on a single file name, it sees these files as unrelated and thus doesn't ever purge old ones.\r\n\r\nIn other words, Tomcat is writing out log files like `catalina.2017-10-07.log`, `catalina.2017-10-08.log`, `catalina.2017-10-09.log`, etc. The log rotation configuration will have these correctly gzipped and whatnot, but they will never be purged. There will only ever be 1 rotated file of each name. We've noticed on some of our nodes that we still have files months old because of this, and we occasionally run into disk space issues.\r\n\r\nI would expect Tomcat to be configured by this cookbook to use simply `catalina.log`, `localhost_access_log.txt`, etc instead of these date suffixed names."},"comment":{"url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/comments/339106172","html_url":"https://github.com/cerner/cerner_tomcat/issues/51#issuecomment-339106172","issue_url":"https://api.github.com/repos/cerner/cerner_tomcat/issues/51","id":339106172,"user":{"login":"bbaugher","id":2530095,"avatar_url":"https://avatars3.githubusercontent.com/u/2530095?v=4","gravatar_id":"","url":"https://api.github.com/users/bbaugher","html_url":"https://github.com/bbaugher","followers_url":"https://api.github.com/users/bbaugher/followers","following_url":"https://api.github.com/users/bbaugher/following{/other_user}","gists_url":"https://api.github.com/users/bbaugher/gists{/gist_id}","starred_url":"https://api.github.com/users/bbaugher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbaugher/subscriptions","organizations_url":"https://api.github.com/users/bbaugher/orgs","repos_url":"https://api.github.com/users/bbaugher/repos","events_url":"https://api.github.com/users/bbaugher/events{/privacy}","received_events_url":"https://api.github.com/users/bbaugher/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T19:35:30Z","updated_at":"2017-10-24T19:35:30Z","author_association":"MEMBER","body":"Yes the logrotate settings are probably a copy from how we usually configure our server/access logs since they don't seem to make sense with the default"}}
{"actor":{"display_login":"bbaugher"}}