{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1649","repository_url":"https://api.github.com/repos/hpcugent/easybuild-framework","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1649/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1649/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1649/events","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1649","id":138135265,"number":1649,"title":"enhance logging format: remove logger name, mention location instead","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/34","html_url":"https://github.com/hpcugent/easybuild-framework/milestones/v2.7.0","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/34/labels","id":1534739,"number":34,"title":"v2.7.0","description":"","creator":{"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},"open_issues":66,"closed_issues":53,"state":"open","created_at":"2016-01-22T15:25:29Z","updated_at":"2016-03-04T10:07:37Z","due_on":"2016-03-15T23:00:00Z","closed_at":null},"comments":8,"created_at":"2016-03-03T10:10:48Z","updated_at":"2016-03-04T15:45:08Z","closed_at":"2016-03-03T11:02:19Z","pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1649","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1649","diff_url":"https://github.com/hpcugent/easybuild-framework/pull/1649.diff","patch_url":"https://github.com/hpcugent/easybuild-framework/pull/1649.patch"},"body":"logging format in EasyBuild v2.6.0:\r\n\r\n```\r\n== 2016-03-03 11:08:55,835 runpy.EB_bzip2 INFO This is easyblock EB_bzip2 from module easybuild.easyblocks.bzip2 (/Users/kehoste/work/easybuild-easyblocks/easybuild/easyblocks/b/bzip2.pyc)\r\n...\r\n== 2016-03-03 11:07:26,007 runpy.EB_bzip2 INFO Running method configure_step part of step configure\r\n```\r\n\r\nin current `develop`, this has changed to this, because of running in optimised mode (cfr. #1357):\r\n\r\n```\r\n== 2016-03-03 11:08:46,118 not available in optimized mode.EB_bzip2 INFO This is easyblock EB_bzip2 from module easybuild.easyblocks.bzip2 (/Users/kehoste/work/easybuild-easyblocks/easybuild/easyblocks/b/bzip2.pyo)\r\n...\r\n== 2016-03-03 11:07:35,524 not available in optimized mode.EB_bzip2 INFO Running method configure_step part of step configure\r\n```\r\n\r\nThe proposed change modifies this, by removing the logger name (which is pretty useless anyway), and replacing it with the location from which the log message is sent:\r\n\r\n```\r\n== 2016-03-03 11:08:18,697 easybuild/framework/easyblock.py:257 INFO This is easyblock EB_bzip2 from module easybuild.easyblocks.bzip2 (/Users/kehoste/work/easybuild-easyblocks/easybuild/easyblocks/b/bzip2.pyo)\r\n...\r\n== 2016-03-03 11:07:12,073 easybuild/framework/easyblock.py:2056 INFO Running method configure_step part of step configure\r\n```"},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments/192328543","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1649#issuecomment-192328543","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1649","id":192328543,"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":"2016-03-04T15:45:08Z","updated_at":"2016-03-04T15:45:08Z","body":"eek, indeed...\r\n\r\nI'll switch to using `%(filename)s` instead, which will yield\r\n\r\n```\r\n== 2016-03-04 16:39:31,880 environment.py:97 INFO Environment variable SCALAPACK_STATIC_LIBS set to libmkl_scalapack_lp64.a,libmkl_blacs_intelmpi_lp64.a,libmkl_intel_lp64.a,libmkl_sequential.a,libmkl_core.a (previously undefined)\r\n```"}}