Browse Source

Fix lint issue

Change-Id: I3c3186690e585b59d321af28751be68e54f40220
ZhongShengping 2 months ago
parent
commit
96e5483986
1 changed files with 17 additions and 17 deletions
  1. 17
    17
      spec/classes/glare_logging_spec.rb

+ 17
- 17
spec/classes/glare_logging_spec.rb View File

@@ -11,26 +11,26 @@ describe 'glare::logging' do
11 11
     {
12 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 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',
15
-      :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
16
-      :log_config_append => '/etc/glare/logging.conf',
17
-      :publish_errors => true,
18
-      :default_log_levels => {
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',
16
+      :log_config_append             => '/etc/glare/logging.conf',
17
+      :publish_errors                => true,
18
+      :default_log_levels            => {
19 19
         'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
20 20
         'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
21 21
         'requests.packages.urllib3.connectionpool' => 'WARN' },
22
-     :fatal_deprecations => true,
23
-     :instance_format => '[instance: %(uuid)s] ',
24
-     :instance_uuid_format => '[instance: %(uuid)s] ',
25
-     :log_date_format => '%Y-%m-%d %H:%M:%S',
26
-     :use_syslog => true,
27
-     :use_json => true,
28
-     :use_journal => true,
29
-     :use_stderr => false,
30
-     :syslog_log_facility => 'LOG_FOO',
31
-     :log_dir => '/var/log',
32
-     :log_file => '/var/tmp/glare_random.log',
33
-     :debug => true,
22
+     :fatal_deprecations             => true,
23
+     :instance_format                => '[instance: %(uuid)s] ',
24
+     :instance_uuid_format           => '[instance: %(uuid)s] ',
25
+     :log_date_format                => '%Y-%m-%d %H:%M:%S',
26
+     :use_syslog                     => true,
27
+     :use_json                       => true,
28
+     :use_journal                    => true,
29
+     :use_stderr                     => false,
30
+     :syslog_log_facility            => 'LOG_FOO',
31
+     :log_dir                        => '/var/log',
32
+     :log_file                       => '/var/tmp/glare_random.log',
33
+     :debug                          => true,
34 34
     }
35 35
   end
36 36
 

Loading…
Cancel
Save