{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1171","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1171/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1171/events","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1171","id":57388039,"number":1171,"title":" Use different logger classes depending on prefix of requested logger","user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-11T22:32:24Z","updated_at":"2015-02-11T22:55:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1171","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1171","diff_url":"https://github.com/hpcugent/easybuild-framework/pull/1171.diff","patch_url":"https://github.com/hpcugent/easybuild-framework/pull/1171.patch"},"body":"As the title says: this allows external libraries (e.g., GC3Pie) to use stdlib logging, while EB continues to use its own logging facility.\r\n\r\nIt's a hack, however, that involves directly setting a module-level private variable..."},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments/73983071","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1171#issuecomment-73983071","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1171","id":73983071,"user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T22:55:05Z","updated_at":"2015-02-11T22:55:05Z","body":"Things are very broken now, it seems... Somehow EasyBuild isn't using an EasyBuildLog instance anymore?\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test/framework/options.py\", line 1065, in test_deprecated\r\n    log.deprecated('x', str(orig_value))\r\nTypeError: deprecated() takes at least 4 arguments (3 given)\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test/framework/options.py\", line 1028, in test_experimental\r\n    log.experimental('x')\r\nAttributeError: FancyLogger instance has no attribute 'experimental'\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test/framework/easyconfigparser.py\", line 75, in test_v20\r\n    ec = ecp.get_config_dict()\r\n  File \"easybuild/framework/easyconfig/parser.py\", line 148, in get_config_dict\r\n    return self._formatter.get_config_dict()\r\n  File \"easybuild/framework/easyconfig/format/two.py\", line 99, in get_config_dict\r\n    self.log.experimental(self.__class__.__name__)\r\nAttributeError: FancyLogger instance has no attribute 'experimental'\r\n```"}}