)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"014c90eb88f366e2fc6eb418530cd6f1cdd315f5","unresolved":false,"context_lines":[{"line_number":7,"context_line":"os-vif pollute test output"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When running unit tests with tox, os-vif logging"},{"line_number":10,"context_line":"pollutes the output of the teste runner."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch changes logging level config to WARNING for logger"},{"line_number":13,"context_line":"which currently has logging level as NOTSET ."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_63277b64","line":10,"updated":"2016-09-15 15:11:03.000000000","message":"Please provide examples.","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"},{"author":{"_account_id":18335,"name":"Pushkar Umaranikar","email":"pushkar.umaranikar@intel.com","username":"pushkarumaranikar"},"change_message_id":"267cd6736f31c67240eefa7352d914d0b5c2565e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"os-vif pollute test output"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When running unit tests with tox, os-vif logging"},{"line_number":10,"context_line":"pollutes the output of the teste runner."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch changes logging level config to WARNING for logger"},{"line_number":13,"context_line":"which currently has logging level as NOTSET ."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_fe3084ea","line":10,"in_reply_to":"7a8ec9b2_63277b64","updated":"2016-09-15 15:19:43.000000000","message":"http://paste.openstack.org/show/577467/","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"},{"author":{"_account_id":18335,"name":"Pushkar Umaranikar","email":"pushkar.umaranikar@intel.com","username":"pushkarumaranikar"},"change_message_id":"ae56f4124f0fb2595f26d5f874296f921cab15a7","unresolved":false,"context_lines":[{"line_number":7,"context_line":"os-vif pollute test output"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When running unit tests with tox, os-vif logging"},{"line_number":10,"context_line":"pollutes the output of the teste runner."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch changes logging level config to WARNING for logger"},{"line_number":13,"context_line":"which currently has logging level as NOTSET ."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_19de2a11","line":10,"in_reply_to":"7a8ec9b2_be78bc2c","updated":"2016-09-15 15:42:10.000000000","message":"I think I tried this. But I think this is causing stdout logging https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L373\n\nI do not find logpath config in os_vif which will redirect output to file. Please correct me if I am wrong.","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"44cbf41e24970d854be1cb0ac3872afceab23fbc","unresolved":false,"context_lines":[{"line_number":7,"context_line":"os-vif pollute test output"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When running unit tests with tox, os-vif logging"},{"line_number":10,"context_line":"pollutes the output of the teste runner."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch changes logging level config to WARNING for logger"},{"line_number":13,"context_line":"which currently has logging level as NOTSET ."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_be78bc2c","line":10,"in_reply_to":"7a8ec9b2_fe3084ea","updated":"2016-09-15 15:27:35.000000000","message":"Ok, it is inappropriate to set the logging level globally in os-vif for that.  Instead the test suite should be setting \u0027use_stderr\u003dFalse\u0027 in the config used for logging when running test. suites. eg in nova/test.py it does \n\nCONF \u003d cfg.CONF\n\nlogging.register_options(CONF)\nCONF.set_override(\u0027use_stderr\u0027, False)\nlogging.setup(CONF, \u0027nova\u0027)","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"014c90eb88f366e2fc6eb418530cd6f1cdd315f5","unresolved":false,"context_lines":[{"line_number":13,"context_line":"which currently has logging level as NOTSET ."},{"line_number":14,"context_line":"This is done in __init__.py since there is no logging"},{"line_number":15,"context_line":"configuration setup in os-vif. Also, logpath config is also"},{"line_number":16,"context_line":"not set in config otherwise redirection to file is possible."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ic6891e7ae87691026d6662bcaacde5671af7f9fe"},{"line_number":19,"context_line":"Closes-Bug: #1615676"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_c3912f54","line":16,"updated":"2016-09-15 15:11:03.000000000","message":"AFAICT, other libraries don\u0027t do anything special in this regard, so I don\u0027t see why os-vif would want to either.","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"},{"author":{"_account_id":18335,"name":"Pushkar Umaranikar","email":"pushkar.umaranikar@intel.com","username":"pushkarumaranikar"},"change_message_id":"5e502c3761ec523e5eace93781972eac28b41a65","unresolved":false,"context_lines":[{"line_number":13,"context_line":"which currently has logging level as NOTSET ."},{"line_number":14,"context_line":"This is done in __init__.py since there is no logging"},{"line_number":15,"context_line":"configuration setup in os-vif. Also, logpath config is also"},{"line_number":16,"context_line":"not set in config otherwise redirection to file is possible."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ic6891e7ae87691026d6662bcaacde5671af7f9fe"},{"line_number":19,"context_line":"Closes-Bug: #1615676"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a8ec9b2_9edce0e5","line":16,"in_reply_to":"7a8ec9b2_c3912f54","updated":"2016-09-15 15:31:55.000000000","message":"I checked for few plugins from requirements. Many of them do not log anything on initialization. Also, mostly its DEBUG level messages. \n\nSome of the plugins also have default log level set here, https://github.com/openstack/oslo.log/blob/master/oslo_log/_options.py#L19","commit_id":"4350f535eaf40f5783d8b8b2c328cdc0efb7f7e8"}]}
