From 496a58a765c54ee0acd660e70c154812c97316e6 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Fri, 25 Jan 2019 12:23:44 +0800 Subject: [PATCH] Fix lint issue Change-Id: I4bc4cef6d17a08f6b15f119d417c61ac1f8c4dea --- spec/classes/manila_logging_spec.rb | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/spec/classes/manila_logging_spec.rb b/spec/classes/manila_logging_spec.rb index c1084be3..5bffdaa4 100644 --- a/spec/classes/manila_logging_spec.rb +++ b/spec/classes/manila_logging_spec.rb @@ -11,25 +11,25 @@ describe 'manila::logging' do { :logging_context_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s', :logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s', - :logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d', - :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s', - :log_config_append => '/etc/manila/logging.conf', - :publish_errors => true, - :default_log_levels => { + :logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d', + :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s', + :log_config_append => '/etc/manila/logging.conf', + :publish_errors => true, + :default_log_levels => { 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN', 'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN', 'requests.packages.urllib3.connectionpool' => 'WARN' }, - :fatal_deprecations => true, - :instance_format => '[instance: %(uuid)s] ', - :instance_uuid_format => '[instance: %(uuid)s] ', - :log_date_format => '%Y-%m-%d %H:%M:%S', - :use_syslog => true, - :use_json => true, - :use_journal => true, - :use_stderr => false, - :log_facility => 'LOG_FOO', - :log_dir => '/var/log', - :debug => true, + :fatal_deprecations => true, + :instance_format => '[instance: %(uuid)s] ', + :instance_uuid_format => '[instance: %(uuid)s] ', + :log_date_format => '%Y-%m-%d %H:%M:%S', + :use_syslog => true, + :use_json => true, + :use_journal => true, + :use_stderr => false, + :log_facility => 'LOG_FOO', + :log_dir => '/var/log', + :debug => true, } end