Skip to content

Commit c8a6870

Browse files
committed
Update sample cfg file
1 parent 38013fd commit c8a6870

File tree

1 file changed

+48
-11
lines changed

1 file changed

+48
-11
lines changed

etc/caso/caso.conf.sample

Lines changed: 48 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
#
66

77
# List of messenger that will dispatch records. valid values are
8-
# ['caso.messenger.ssm.SSMMessengerV02', 'caso.messenger.ssm.SSMMessengerV04',
9-
# 'caso.messenger.ssm.SsmMessager', 'caso.messenger.noop.NoopMessenger',
10-
# 'caso.messenger.logstash.LogstashMessenger'] (list value)
8+
# ['caso.messenger.noop.NoopMessenger',
9+
# 'caso.messenger.logstash.LogstashMessenger',
10+
# 'caso.messenger.ssm.SSMMessengerV02', 'caso.messenger.ssm.SSMMessengerV04',
11+
# 'caso.messenger.ssm.SsmMessager'] (list value)
1112
#messengers = caso.messenger.noop.NoopMessenger
1213

1314
# Spool directory. (string value)
@@ -82,7 +83,7 @@
8283
# files, see the Python logging module documentation. Note that when logging
8384
# configuration files are used then all logging configuration is set in the
8485
# configuration file and other logging configuration options are ignored (for
85-
# example, logging_context_format_string). (string value)
86+
# example, log-date-format). (string value)
8687
# Note: This option can be changed without restarting.
8788
# Deprecated group/name - [DEFAULT]/log_config
8889
#log_config_append = <None>
@@ -133,27 +134,63 @@
133134
# set. (boolean value)
134135
#use_stderr = false
135136

136-
# Format string to use for log messages with context. (string value)
137-
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
137+
# Log output to Windows Event Log. (boolean value)
138+
#use_eventlog = false
139+
140+
# The amount of time before the log files are rotated. This option is ignored
141+
# unless log_rotation_type is setto "interval". (integer value)
142+
#log_rotate_interval = 1
138143

139-
# Format string to use for log messages when context is undefined. (string
144+
# Rotation interval type. The time of the last file change (or the time when
145+
# the service was started) is used when scheduling the next rotation. (string
140146
# value)
147+
# Possible values:
148+
# Seconds - <No description provided>
149+
# Minutes - <No description provided>
150+
# Hours - <No description provided>
151+
# Days - <No description provided>
152+
# Weekday - <No description provided>
153+
# Midnight - <No description provided>
154+
#log_rotate_interval_type = days
155+
156+
# Maximum number of rotated log files. (integer value)
157+
#max_logfile_count = 30
158+
159+
# Log file maximum size in MB. This option is ignored if "log_rotation_type" is
160+
# not set to "size". (integer value)
161+
#max_logfile_size_mb = 200
162+
163+
# Log rotation type. (string value)
164+
# Possible values:
165+
# interval - Rotate logs at predefined time intervals.
166+
# size - Rotate logs once they reach a predefined size.
167+
# none - Do not rotate log files.
168+
#log_rotation_type = none
169+
170+
# Format string to use for log messages with context. Used by
171+
# oslo_log.formatters.ContextFormatter (string value)
172+
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
173+
174+
# Format string to use for log messages when context is undefined. Used by
175+
# oslo_log.formatters.ContextFormatter (string value)
141176
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
142177

143178
# Additional data to append to log message when logging level for the message
144-
# is DEBUG. (string value)
179+
# is DEBUG. Used by oslo_log.formatters.ContextFormatter (string value)
145180
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
146181

147-
# Prefix each line of exception output with this format. (string value)
182+
# Prefix each line of exception output with this format. Used by
183+
# oslo_log.formatters.ContextFormatter (string value)
148184
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
149185

150186
# Defines the format string for %(user_identity)s that is used in
151-
# logging_context_format_string. (string value)
187+
# logging_context_format_string. Used by oslo_log.formatters.ContextFormatter
188+
# (string value)
152189
#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
153190

154191
# List of package logging levels in logger=LEVEL pairs. This option is ignored
155192
# if log_config_append is set. (list value)
156-
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
193+
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,oslo_policy=INFO,dogpile.core.dogpile=INFO
157194

158195
# Enables or disables publication of error events. (boolean value)
159196
#publish_errors = false

0 commit comments

Comments
 (0)