1 # Copyright 2016 RIFT.IO Inc
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
20 # If set to true, the logging level will be set to DEBUG instead of
21 # the default INFO level. (boolean value)
24 # If set to false, the logging level will be set to WARNING instead of
25 # the default INFO level. (boolean value)
26 # This option is deprecated for removal.
27 # Its value may be silently ignored in the future.
30 # The name of a logging configuration file. This file is appended to
31 # any existing logging configuration files. For details about logging
32 # configuration files, see the Python logging module documentation.
33 # Note that when logging configuration files are used then all logging
34 # configuration is set in the configuration file and other logging
35 # configuration options are ignored (for example,
36 # logging_context_format_string). (string value)
37 # Deprecated group/name - [DEFAULT]/log_config
38 #log_config_append = <None>
40 # Defines the format string for %%(asctime)s in log records. Default:
41 # %(default)s . This option is ignored if log_config_append is set.
43 #log_date_format = %Y-%m-%d %H:%M:%S
45 # (Optional) Name of log file to send logging output to. If no default
46 # is set, logging will go to stderr as defined by use_stderr. This
47 # option is ignored if log_config_append is set. (string value)
48 # Deprecated group/name - [DEFAULT]/logfile
49 log_file = {RIFT_VAR_ROOT}/log/glance/image-manage.log
51 # (Optional) The base directory used for relative log_file paths.
52 # This option is ignored if log_config_append is set. (string value)
53 # Deprecated group/name - [DEFAULT]/logdir
56 # Uses logging handler designed to watch file system. When log file is
57 # moved or removed this handler will open a new log file with
58 # specified path instantaneously. It makes sense only if log_file
59 # option is specified and Linux platform is used. This option is
60 # ignored if log_config_append is set. (boolean value)
61 #watch_log_file = false
63 # Use syslog for logging. Existing syslog format is DEPRECATED and
64 # will be changed later to honor RFC5424. This option is ignored if
65 # log_config_append is set. (boolean value)
68 # Syslog facility to receive log lines. This option is ignored if
69 # log_config_append is set. (string value)
70 #syslog_log_facility = LOG_USER
72 # Log output to standard error. This option is ignored if
73 # log_config_append is set. (boolean value)
76 # Format string to use for log messages with context. (string value)
77 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
79 # Format string to use for log messages when context is undefined.
81 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
83 # Additional data to append to log message when logging level for the
84 # message is DEBUG. (string value)
85 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
87 # Prefix each line of exception output with this format. (string
89 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
91 # Defines the format string for %(user_identity)s that is used in
92 # logging_context_format_string. (string value)
93 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
95 # List of package logging levels in logger=LEVEL pairs. This option is
96 # ignored if log_config_append is set. (list value)
97 #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=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
99 # Enables or disables publication of error events. (boolean value)
100 #publish_errors = false
102 # The format for an instance that is passed with the log message.
104 #instance_format = "[instance: %(uuid)s] "
106 # The format for an instance UUID that is passed with the log message.
108 #instance_uuid_format = "[instance: %(uuid)s] "
110 # Enables or disables fatal status of deprecations. (boolean value)
111 #fatal_deprecations = false
120 # The file name to use with SQLite. (string value)
121 # Deprecated group/name - [DEFAULT]/sqlite_db
122 sqlite_db = oslo.sqlite
124 # If True, SQLite uses synchronous mode. (boolean value)
125 # Deprecated group/name - [DEFAULT]/sqlite_synchronous
126 #sqlite_synchronous = true
128 # The back end to use for the database. (string value)
129 # Deprecated group/name - [DEFAULT]/db_backend
132 # The SQLAlchemy connection string to use to connect to the database.
134 # Deprecated group/name - [DEFAULT]/sql_connection
135 # Deprecated group/name - [DATABASE]/sql_connection
136 # Deprecated group/name - [sql]/connection
139 # The SQLAlchemy connection string to use to connect to the slave
140 # database. (string value)
141 #slave_connection = <None>
143 # The SQL mode to be used for MySQL sessions. This option, including
144 # the default, overrides any server-set SQL mode. To use whatever SQL
145 # mode is set by the server configuration, set this to no value.
146 # Example: mysql_sql_mode= (string value)
147 #mysql_sql_mode = TRADITIONAL
149 # Timeout before idle SQL connections are reaped. (integer value)
150 # Deprecated group/name - [DEFAULT]/sql_idle_timeout
151 # Deprecated group/name - [DATABASE]/sql_idle_timeout
152 # Deprecated group/name - [sql]/idle_timeout
155 # Minimum number of SQL connections to keep open in a pool. (integer
157 # Deprecated group/name - [DEFAULT]/sql_min_pool_size
158 # Deprecated group/name - [DATABASE]/sql_min_pool_size
161 # Maximum number of SQL connections to keep open in a pool. (integer
163 # Deprecated group/name - [DEFAULT]/sql_max_pool_size
164 # Deprecated group/name - [DATABASE]/sql_max_pool_size
165 #max_pool_size = <None>
167 # Maximum number of database connection retries during startup. Set to
168 # -1 to specify an infinite retry count. (integer value)
169 # Deprecated group/name - [DEFAULT]/sql_max_retries
170 # Deprecated group/name - [DATABASE]/sql_max_retries
173 # Interval between retries of opening a SQL connection. (integer
175 # Deprecated group/name - [DEFAULT]/sql_retry_interval
176 # Deprecated group/name - [DATABASE]/reconnect_interval
179 # If set, use this value for max_overflow with SQLAlchemy. (integer
181 # Deprecated group/name - [DEFAULT]/sql_max_overflow
182 # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
185 # Verbosity of SQL debugging information: 0=None, 100=Everything.
187 # Deprecated group/name - [DEFAULT]/sql_connection_debug
188 #connection_debug = 0
190 # Add Python stack traces to SQL as comment strings. (boolean value)
191 # Deprecated group/name - [DEFAULT]/sql_connection_trace
192 #connection_trace = false
194 # If set, use this value for pool_timeout with SQLAlchemy. (integer
196 # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
197 #pool_timeout = <None>
199 # Enable the experimental use of database reconnect on connection
200 # lost. (boolean value)
201 #use_db_reconnect = false
203 # Seconds between retries of a database transaction. (integer value)
204 #db_retry_interval = 1
206 # If True, increases the interval between retries of a database
207 # operation up to db_max_retry_interval. (boolean value)
208 #db_inc_retry_interval = true
210 # If db_inc_retry_interval is set, the maximum seconds between retries
211 # of a database operation. (integer value)
212 #db_max_retry_interval = 10
214 # Maximum retries in case of connection error or deadlock error before
215 # error is raised. Set to -1 to specify an infinite retry count.
220 # From oslo.db.concurrency
223 # Enable the experimental use of thread pooling for all DB API calls
225 # Deprecated group/name - [DEFAULT]/dbapi_use_tpool