{"action":"created","issue":{"url":"https://api.github.com/repos/xcp-ng/xcp/issues/100","repository_url":"https://api.github.com/repos/xcp-ng/xcp","labels_url":"https://api.github.com/repos/xcp-ng/xcp/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/xcp-ng/xcp/issues/100/comments","events_url":"https://api.github.com/repos/xcp-ng/xcp/issues/100/events","html_url":"https://github.com/xcp-ng/xcp/issues/100","id":383030385,"node_id":"MDU6SXNzdWUzODMwMzAzODU=","number":100,"title":"OpenVSwitch Logs aren't rotated","user":{"login":"bplessis","id":2431941,"node_id":"MDQ6VXNlcjI0MzE5NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/2431941?v=4","gravatar_id":"","url":"https://api.github.com/users/bplessis","html_url":"https://github.com/bplessis","followers_url":"https://api.github.com/users/bplessis/followers","following_url":"https://api.github.com/users/bplessis/following{/other_user}","gists_url":"https://api.github.com/users/bplessis/gists{/gist_id}","starred_url":"https://api.github.com/users/bplessis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bplessis/subscriptions","organizations_url":"https://api.github.com/users/bplessis/orgs","repos_url":"https://api.github.com/users/bplessis/repos","events_url":"https://api.github.com/users/bplessis/events{/privacy}","received_events_url":"https://api.github.com/users/bplessis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-21T09:36:34Z","updated_at":"2018-11-21T09:50:02Z","closed_at":null,"author_association":"NONE","body":"It look like there is a discrepancy between expected openvswitch log location (`/var/log/openvswitch/*.log)` and the real log files (`/var/log/ovs-*.log` so no log rotation occurs on thoses files and some can grow big\r\n\r\n```\r\n-rw-r--r--  1 root root     2010 12 nov.  11:47 ovs-ctl.log\r\n-rw-r--r--  1 root root     1510 12 nov.  11:47 ovsdb-server.log\r\n-rw-r--r--  1 root root  5149493 21 nov.  10:35 ovs-vswitchd.log\r\n-rw-r--r--  1 root root      594 12 nov.  11:58 ovs-xapi-sync.log\r\n```"},"comment":{"url":"https://api.github.com/repos/xcp-ng/xcp/issues/comments/440601930","html_url":"https://github.com/xcp-ng/xcp/issues/100#issuecomment-440601930","issue_url":"https://api.github.com/repos/xcp-ng/xcp/issues/100","id":440601930,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDYwMTkzMA==","user":{"login":"bplessis","id":2431941,"node_id":"MDQ6VXNlcjI0MzE5NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/2431941?v=4","gravatar_id":"","url":"https://api.github.com/users/bplessis","html_url":"https://github.com/bplessis","followers_url":"https://api.github.com/users/bplessis/followers","following_url":"https://api.github.com/users/bplessis/following{/other_user}","gists_url":"https://api.github.com/users/bplessis/gists{/gist_id}","starred_url":"https://api.github.com/users/bplessis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bplessis/subscriptions","organizations_url":"https://api.github.com/users/bplessis/orgs","repos_url":"https://api.github.com/users/bplessis/repos","events_url":"https://api.github.com/users/bplessis/events{/privacy}","received_events_url":"https://api.github.com/users/bplessis/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T09:50:02Z","updated_at":"2018-11-21T09:50:02Z","author_association":"NONE","body":"XSO Created https://bugs.xenserver.org/browse/XSO-919\r\n\r\n> Okay so I need to modify `/etc/logrotate.d/openvswitch` file.\r\n\r\nWell there are two ways to fix this, it could be interesting to also try to change the OVS configuration so that they log in the correct directory.\r\n\r\nBut having the logrotate configuration fixed so as to rotate both location could be a plus"}}
{"actor":{"display_login":"bplessis"}}