summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2019-01-25 12:23:43 +0800
committerZhongShengping <chdzsp@163.com>2019-01-25 12:23:43 +0800
commit96e5483986ca5d22e2cb997a5f7250d39cc87325 (patch)
tree25b9b1b1cb4c371e7072504caf7e87b0d05a6afb
parent890b23abecf4019dae40d2117dc86f8d3d2c3c9c (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 07:24:12 +0000 Reviewed-on: https://review.openstack.org/633120 Project: openstack/puppet-glare Branch: refs/heads/master
-rw-r--r--spec/classes/glare_logging_spec.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/spec/classes/glare_logging_spec.rb b/spec/classes/glare_logging_spec.rb
index b473be0..47f2e4e 100644
--- a/spec/classes/glare_logging_spec.rb
+++ b/spec/classes/glare_logging_spec.rb
@@ -11,26 +11,26 @@ describe 'glare::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/glare/logging.conf', 16 :log_config_append => '/etc/glare/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 :syslog_log_facility => 'LOG_FOO', 30 :syslog_log_facility => 'LOG_FOO',
31 :log_dir => '/var/log', 31 :log_dir => '/var/log',
32 :log_file => '/var/tmp/glare_random.log', 32 :log_file => '/var/tmp/glare_random.log',
33 :debug => true, 33 :debug => true,
34 } 34 }
35 end 35 end
36 36