{"action":"created","issue":{"url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/639","labels_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/639/comments","events_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/639/events","html_url":"https://github.com/markovmodel/PyEMMA/issues/639","id":119496414,"number":639,"title":"PyEMMA breaks my logging","user":{"login":"stefdoerr","id":7935362,"avatar_url":"https://avatars.githubusercontent.com/u/7935362?v=3","gravatar_id":"","url":"https://api.github.com/users/stefdoerr","html_url":"https://github.com/stefdoerr","followers_url":"https://api.github.com/users/stefdoerr/followers","following_url":"https://api.github.com/users/stefdoerr/following{/other_user}","gists_url":"https://api.github.com/users/stefdoerr/gists{/gist_id}","starred_url":"https://api.github.com/users/stefdoerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefdoerr/subscriptions","organizations_url":"https://api.github.com/users/stefdoerr/orgs","repos_url":"https://api.github.com/users/stefdoerr/repos","events_url":"https://api.github.com/users/stefdoerr/events{/privacy}","received_events_url":"https://api.github.com/users/stefdoerr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-30T13:54:46Z","updated_at":"2015-11-30T14:49:35Z","closed_at":"2015-11-30T14:47:29Z","body":"I was wondering why my logging messages started disappearing after some point in my analysis and it seems like it's caused by importing PyEMMA into HTMD.\r\n\r\n```python\r\nipdb> logger.info('est')\r\n2015-11-30 14:42:25,792 - htmd.model - INFO - est\r\nipdb> import pyemma\r\nipdb> logger.info('est')\r\n```\r\nI attach my own logging configuration. But I don't see a reason why the two loggers should collide. My logger_htmd should catch the logging from it's submodules and call my consoleHandler correctly. Does anyone have some more experience in this than me?\r\n\r\n```ini\r\n[loggers]\r\nkeys=root,htmd\r\n\r\n[handlers]\r\nkeys=consoleHandler\r\n\r\n[formatters]\r\nkeys=simpleFormatter\r\n\r\n[logger_root]\r\nlevel=WARNING\r\nhandlers=consoleHandler\r\n\r\n[logger_htmd]\r\nlevel=INFO\r\nhandlers=consoleHandler\r\nqualname=htmd\r\npropagate=0\r\n\r\n[handler_consoleHandler]\r\nclass=StreamHandler\r\nlevel=DEBUG\r\nformatter=simpleFormatter\r\nargs=(sys.stdout,)\r\n\r\n[formatter_simpleFormatter]\r\nformat=%(asctime)s - %(name)s - %(levelname)s - %(message)s\r\ndatefmt=\r\n```"},"comment":{"url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/comments/160651229","html_url":"https://github.com/markovmodel/PyEMMA/issues/639#issuecomment-160651229","issue_url":"https://api.github.com/repos/markovmodel/PyEMMA/issues/639","id":160651229,"user":{"login":"stefdoerr","id":7935362,"avatar_url":"https://avatars.githubusercontent.com/u/7935362?v=3","gravatar_id":"","url":"https://api.github.com/users/stefdoerr","html_url":"https://github.com/stefdoerr","followers_url":"https://api.github.com/users/stefdoerr/followers","following_url":"https://api.github.com/users/stefdoerr/following{/other_user}","gists_url":"https://api.github.com/users/stefdoerr/gists{/gist_id}","starred_url":"https://api.github.com/users/stefdoerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefdoerr/subscriptions","organizations_url":"https://api.github.com/users/stefdoerr/orgs","repos_url":"https://api.github.com/users/stefdoerr/repos","events_url":"https://api.github.com/users/stefdoerr/events{/privacy}","received_events_url":"https://api.github.com/users/stefdoerr/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T14:49:35Z","updated_at":"2015-11-30T14:49:35Z","body":"Hm but what if I want both the logging of PyEMMA and my own? Should be possible in theory no? They should not collide."}}