]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
etc: replace NullHandler by Python one
authorJulien Danjou <julien@danjou.info>
Tue, 25 Nov 2014 10:26:40 +0000 (11:26 +0100)
committerJulien Danjou <julien@danjou.info>
Tue, 25 Nov 2014 10:26:40 +0000 (11:26 +0100)
We don't need to specify the NullHandler that was provided by Oslo
anymore, as Python 2.7 has this one. Let's use it directly.

Change-Id: I6948d1cd5a556779c1b1fd0a4161689e3a944b45

etc/cinder/logging_sample.conf

index 03f62019063201b965c6d9cb172d67634d0b086f..c3f5deca5a676eddd4f3e627f51782089712fc76 100644 (file)
@@ -82,7 +82,7 @@ args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
 formatter = context
 
 [handler_null]
-class = cinder.openstack.common.log.NullHandler
+class = logging.NullHandler
 formatter = default
 args = ()