{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/739","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/739/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/739/events","html_url":"https://github.com/xcat2/xcat-core/issues/739","id":136397315,"number":739,"title":"[DEV]The rsyslog.conf file disables message logging in /var/log/messages","user":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/type:bug","name":"type:bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"neo954","id":12424088,"avatar_url":"https://avatars.githubusercontent.com/u/12424088?v=3","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/8","html_url":"https://github.com/xcat2/xcat-core/milestones/2.11.1","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/8/labels","id":1469761,"number":8,"title":"2.11.1","description":"The next target release of 2.11 branch is May 2016 (tentative)","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2015-12-21T15:31:43Z","updated_at":"2016-03-03T19:25:47Z","due_on":"2016-05-07T04:00:00Z","closed_at":null},"comments":7,"created_at":"2016-02-25T14:12:12Z","updated_at":"2016-03-03T21:09:17Z","closed_at":null,"body":"Starting from the xCAT 2.11 release, changes were made to the rsyslog configuration file.  The xCAT related logs are stored in ``/var/log/xcat/`` subdirectory.\r\n\r\nIn commit 1219fdd2, we commented out the debug information going to /var/log/messages.  \r\n\r\n@neo954 , I think this is a bug, but would like to first understand why we decided to comment that line out? \r\n\r\nShould be fixed 2.11 and 2.12 and onwards"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/191964234","html_url":"https://github.com/xcat2/xcat-core/issues/739#issuecomment-191964234","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/739","id":191964234,"user":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T21:09:17Z","updated_at":"2016-03-03T21:09:17Z","body":"Ralph pinged me with the same issue today and suggested the following configuration for rsyslog.d: \r\n```\r\n$ cat xCAT/etc/rsyslog.d/xcat-management.conf\r\n:fromhost-ip, isequal, \"127.0.0.1\" /var/log/messges \r\n```\r\n\r\nI did a small test with this...  \r\n- systemctl stop rsyslogd\r\n- rm -rf /var/log/messages*\r\n- rm -rf /var/log/xcat/*\r\n- create the file above\r\n- systemctl start rsyslogd\r\n\r\n\r\nAfter restarting syslog, the dhcp messages are now re-appear in ``/var/log/messages``, then the xCAT compute nodes messaging are going into /var/log/xcat/computes.log, etc...  This is what I would expect as the behavior.  \r\n\r\n@immarvin  Yes, xCAT uses services like dhcp/dns/syslog, but it does not own it.  So redirecting the logs out of their _normal_ location will cause confusion to system administrators.  So I think those should remain in /var/log/messages\r\n\r\n@neo954  I was just wondering why we even do ``*.debug /var/log/messages`` before...   By commenting that out, we get 0 messages in ``/var/log/message``.  I think this is not what we should be doing? \r\n\r\n"}}