summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2019-01-25 12:23:44 +0800
committerZhongShengping <chdzsp@163.com>2019-01-25 12:23:44 +0800
commit2c9b26482a9d7fb1152b927e2f132c48ff0f4c3b (patch)
tree3fdc8f38cffb3eb825f6c6d7609fd8d1d4e364c8
parentca287bfe488e15361368e109e01608ae6b7ecc1c (diff)
Fix lint issue
Notes
Notes (review): Code-Review+2: zhongshengping <chdzsp@163.com> Workflow+1: zhongshengping <chdzsp@163.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 25 Jan 2019 10:02:01 +0000 Reviewed-on: https://review.openstack.org/633114 Project: openstack/puppet-heat Branch: refs/heads/master
-rw-r--r--spec/classes/heat_logging_spec.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/spec/classes/heat_logging_spec.rb b/spec/classes/heat_logging_spec.rb
index 5b16e8c..104ebf9 100644
--- a/spec/classes/heat_logging_spec.rb
+++ b/spec/classes/heat_logging_spec.rb
@@ -11,25 +11,25 @@ describe 'heat::logging' do
11 { 11 {
12 :logging_context_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s', 12 :logging_context_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s',
13 :logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s', 13 :logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s',
14 :logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d', 14 :logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d',
15 :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s', 15 :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
16 :log_config_append => '/etc/heat/logging.conf', 16 :log_config_append => '/etc/heat/logging.conf',
17 :publish_errors => true, 17 :publish_errors => true,
18 :default_log_levels => { 18 :default_log_levels => {
19 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN', 19 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
20 'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN', 20 'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
21 'requests.packages.urllib3.connectionpool' => 'WARN' }, 21 'requests.packages.urllib3.connectionpool' => 'WARN' },
22 :fatal_deprecations => true, 22 :fatal_deprecations => true,
23 :instance_format => '[instance: %(uuid)s] ', 23 :instance_format => '[instance: %(uuid)s] ',
24 :instance_uuid_format => '[instance: %(uuid)s] ', 24 :instance_uuid_format => '[instance: %(uuid)s] ',
25 :log_date_format => '%Y-%m-%d %H:%M:%S', 25 :log_date_format => '%Y-%m-%d %H:%M:%S',
26 :use_syslog => true, 26 :use_syslog => true,
27 :use_json => true, 27 :use_json => true,
28 :use_journal => true, 28 :use_journal => true,
29 :use_stderr => false, 29 :use_stderr => false,
30 :log_facility => 'LOG_FOO', 30 :log_facility => 'LOG_FOO',
31 :log_dir => '/var/log', 31 :log_dir => '/var/log',
32 :debug => true, 32 :debug => true,
33 } 33 }
34 end 34 end
35 35