{"action":"created","issue":{"url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1","labels_url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1/comments","events_url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1/events","html_url":"https://github.com/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1","id":117287038,"number":1,"title":"Daemon Logs","user":{"login":"BigChief45","id":6859247,"avatar_url":"https://avatars.githubusercontent.com/u/6859247?v=3","gravatar_id":"","url":"https://api.github.com/users/BigChief45","html_url":"https://github.com/BigChief45","followers_url":"https://api.github.com/users/BigChief45/followers","following_url":"https://api.github.com/users/BigChief45/following{/other_user}","gists_url":"https://api.github.com/users/BigChief45/gists{/gist_id}","starred_url":"https://api.github.com/users/BigChief45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigChief45/subscriptions","organizations_url":"https://api.github.com/users/BigChief45/orgs","repos_url":"https://api.github.com/users/BigChief45/repos","events_url":"https://api.github.com/users/BigChief45/events{/privacy}","received_events_url":"https://api.github.com/users/BigChief45/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-17T05:38:35Z","updated_at":"2015-11-17T09:30:14Z","closed_at":null,"body":"Hi Jane.\r\n\r\nI am trying to implement a ZenPack Daemon and I am using this ZenPack as reference. However I am having trouble finding any of the logs in my daemon when using `log.info`, `log.debug`, etc...\r\n\r\nWhen I start the daemon, a log file is created in the directory $ZENHOME/log with many log messages that probably come from other components used in the daemon python file. None of the logs I send appear anywhere.\r\n\r\nWould appreciate any insight.\r\n"},"comment":{"url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/comments/157318433","html_url":"https://github.com/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1#issuecomment-157318433","issue_url":"https://api.github.com/repos/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1","id":157318433,"user":{"login":"jcurry","id":790761,"avatar_url":"https://avatars.githubusercontent.com/u/790761?v=3","gravatar_id":"","url":"https://api.github.com/users/jcurry","html_url":"https://github.com/jcurry","followers_url":"https://api.github.com/users/jcurry/followers","following_url":"https://api.github.com/users/jcurry/following{/other_user}","gists_url":"https://api.github.com/users/jcurry/gists{/gist_id}","starred_url":"https://api.github.com/users/jcurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcurry/subscriptions","organizations_url":"https://api.github.com/users/jcurry/orgs","repos_url":"https://api.github.com/users/jcurry/repos","events_url":"https://api.github.com/users/jcurry/events{/privacy}","received_events_url":"https://api.github.com/users/jcurry/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T09:30:14Z","updated_at":"2015-11-17T09:30:14Z","body":"Sorry - the logseverity should be 10 for debug - 20 is normal.\nCheers,\nJane\n\nOn 17/11/15 08:25, Jane Curry wrote:\n> You will only get debug and info messages if you are running the \n> daemon with debugging turned on.  To test, can you run your daemon in \n> the foreground with full debug eg.\n>\n> zenMyDaemon run -v 10\n>\n> Assuming it is a standard daemon, it should have an etc file in \n> $ZENHOME/etc and you could change the logseverity in there to 20 \n> (debug) and restart the daemon normally.  This probably generates more \n> stuff than you want for normal production but it is good while testing.\n>\n> The other trick - and not sure that it will work with a custom daemon \n> - is to use the debug flag on the daemon.  For example with a \n> standard, zencommand daemon, you can run:\n> zencommand debug\n> to toggle debug logging on the running daemon.  A second zencommand \n> debug sets the logging level back to normal.\n>\n> Cheers,\n> Jane\n>\n> On 17/11/15 05:38, Jaime Alvarez wrote:\n>>\n>> I Jane.\n>>\n>> I am trying to implement a ZenPack Daemon and I am using this ZenPack \n>> as reference. However I am having trouble finding any of the logs in \n>> my daemon when using |log.info|, |log.debug|, etc...\n>>\n>> When I start the daemon, a log file is created in the directory \n>> $ZENHOME/log with many log messages that probably come from other \n>> components used in the daemon python file. None of the logs I send \n>> appear anywhere.\n>>\n>> Would appreciate any insight.\n>>\n>> —\n>> Reply to this email directly or view it on GitHub \n>> <https://github.com/jcurry/ZenPacks.skills1st.LDAPMonitoring/issues/1>.\n>>\n>\n\n-- \nZenoss Master, Tivoli Certified Consultant & Instructor\nSkills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK.\nRegistered in England & Wales, Company No. 3458854.\nTel: +44 (0)1628 782565\t     Skype: jane_curry_uk\nEmail: jane.curry@skills-1st.co.uk   Web: http://www.skills-1st.co.uk\nCopyright (c) 2015 Jane Curry < jane.curry@skills-1st.co.uk >.  All rights reserved.\n\n"}}