
    5fS+                     &   d dl mZ d dlmZ dZg dZdZ ej                  dddd	d
      gZ ej                  dddd	d       ej                  deddez          ej                  ddddez          ej                  dddez          ej                  dddez          ej                  d dd!ez          ej                  d"dd#ez          ej                  d$d%d&ez          ej                  d'dd(ez         g	Z
 ej                  d)dd*ez          ej                  d+dd	d,d-.       ej                  d/d0d1       ej                  d2g d3d	d4d56       ej                  d7d8d9       ej                  d:d;d<       ej                  d=d>g d?d	d@A      gZ ej                  dBdCdD       ej                  dEdFdG       ej                  dHdIdJ       ej                  dKdLdM       ej                  dNdOdP       ej                  dQedRez          ej                  dSddT       ej                  dUdVdW       ej                  dXdVdY       ej                  dZd d[       ej                  d\d d]       ej                  d^d_d`      gZda Zyb)c    )cfg)versionutilsz%Y-%m-%d %H:%M:%S)z	amqp=WARNzamqplib=WARNz	boto=WARNz	qpid=WARNzsqlalchemy=WARNz	suds=INFOzoslo.messaging=INFOzoslo_messaging=INFOziso8601=WARNz-requests.packages.urllib3.connectionpool=WARNzurllib3.connectionpool=WARNzwebsocket=WARNz)requests.packages.urllib3.util.retry=WARNzurllib3.util.retry=WARNzkeystonemiddleware=WARNzroutes.middleware=WARNzstevedore=WARNztaskflow=WARNzkeystoneauth=WARNzoslo.cache=INFOzoslo_policy=INFOzdogpile.core.dogpile=INFOz3This option is ignored if log_config_append is set.debugdFTzYIf set to true, the logging level will be set to DEBUG instead of the default INFO level.)shortdefaultmutablehelpzlog-config-appendPATHz
log-configa  The name of a logging configuration file. This file is appended to any existing logging configuration files. For details about logging configuration files, see the Python logging module documentation. Note that when logging configuration files are used then all logging configuration is set in the configuration file and other logging configuration options are ignored (for example, log-date-format).)metavardeprecated_namer	   r
   zlog-date-formatDATE_FORMATzRDefines the format string for %%(asctime)s in log records. Default: %(default)s . )r   r   r
   zlog-filelogfilez(Optional) Name of log file to send logging output to. If no default is set, logging will go to stderr as defined by use_stderr. )r   r   r
   zlog-dirlogdirzA(Optional) The base directory used for relative log_file  paths. )r   r
   zwatch-log-filezUses logging handler designed to watch file system. When log file is moved or removed this handler will open a new log file with specified path instantaneously. It makes sense only if log_file option is specified and Linux platform is used. )r   r
   z
use-syslogziUse syslog for logging. Existing syslog format is DEPRECATED and will be changed later to honor RFC5424. zuse-journalzEnable journald for logging. If running in a systemd environment you may wish to enable journal support. Doing so will use the journal native protocol which includes structured metadata in addition to log messages.zsyslog-log-facilityLOG_USERz&Syslog facility to receive log lines. zuse-jsonz!Use JSON formatting for logging. 
use_stderrzLog output to standard error. use_eventlogz(Windows support is no longer maintained.z Log output to Windows Event Log.)r   deprecated_for_removaldeprecated_reasonr
   log_rotate_interval   zzThe amount of time before the log files are rotated. This option is ignored unless log_rotation_type is set to "interval".log_rotate_interval_type)SecondsMinutesHoursDaysWeekdayMidnightdayszRotation interval type. The time of the last file change (or the time when the service was started) is used when scheduling the next rotation.)choicesignore_caser   r
   max_logfile_count   z$Maximum number of rotated log files.max_logfile_size_mb   z`Log file maximum size in MB. This option is ignored if "log_rotation_type" is not set to "size".log_rotation_typenone))intervalz)Rotate logs at predefined time intervals.)sizez.Rotate logs once they reach a predefined size.)r'   zDo not rotate log files.zLog rotation type.)r   r    r!   r
   logging_context_format_stringz%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(global_request_id)s %(request_id)s %(user_identity)s] %(instance)s%(message)sz`Format string to use for log messages with context. Used by oslo_log.formatters.ContextFormatterlogging_default_format_stringzV%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)szmFormat string to use for log messages when context is undefined. Used by oslo_log.formatters.ContextFormatterlogging_debug_format_suffixz$%(funcName)s %(pathname)s:%(lineno)dzAdditional data to append to log message when logging level for the message is DEBUG. Used by oslo_log.formatters.ContextFormatterlogging_exception_prefixz?%(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)szcPrefix each line of exception output with this format. Used by oslo_log.formatters.ContextFormatterlogging_user_identity_formatzS%(user)s %(project)s %(domain)s %(system_scope)s %(user_domain)s %(project_domain)szDefines the format string for %(user_identity)s that is used in logging_context_format_string. Used by oslo_log.formatters.ContextFormatterdefault_log_levelsz6List of package logging levels in logger=LEVEL pairs. publish_errorsz0Enables or disables publication of error events.instance_formatz[instance: %(uuid)s] z?The format for an instance that is passed with the log message.instance_uuid_formatzDThe format for an instance UUID that is passed with the log message.rate_limit_intervalz2Interval, number of seconds, of log rate limiting.rate_limit_burstz:Maximum number of logged messages per rate_limit_interval.rate_limit_except_levelCRITICALzLog level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG or empty string. Logs with level greater or equal to rate_limit_except_level are not filtered. An empty string means that all levels are filtered.c                  `    dt         t        z   t        z   t        z   t        j
                  z   fgS )a  Returns a list of oslo.config options available in the library.

    The returned list includes all oslo.config options which may be registered
    at runtime by the library.

    Each element of the list is a tuple. The first element is the name of the
    group under which the list of elements in the second element will be
    registered. A group name of None corresponds to the [DEFAULT] group in
    config files.

    The purpose of this is to allow tools like the Oslo sample config file
    generator (oslo-config-generator) to discover the options exposed to users
    by this library.

    :returns: a list of (group_name, opts) tuples
    N)common_cli_optslogging_cli_optsgeneric_log_optslog_optsr   deprecated_opts     3/usr/lib/python3/dist-packages/oslo_log/_options.py	list_optsr@      s<    " O&66$%'/0 001 3 4 4r>   N)oslo_configr   oslo_logr   _DEFAULT_LOG_DATE_FORMATDEFAULT_LOG_LEVELS_IGNORE_MESSAGEBoolOptr8   StrOptr9   IntOptr:   ListOptr;   r@   r=   r>   r?   <module>rJ      s    !. 3  H CKK@	A CJJ"+6	7 CJJ /$7%&' CJJz(. &&' CJJy'%&'
 CKK A
 ''( CKKD ''( CKK=
 ''( CJJ$!<%&' CKK
8&'(s= @ CKK5&'( CKK'+"L7	9
 CJJ$%&
 CJJ)$>? CJJ":< CJJ$@A CJJ">
  (*=' T CJJ.DC	D CJJ.>CD CJJ,=CD
 CJJ)CD
 CJJ-<CD CKK$*M&'( CKK GI CJJ .  CJJ%.#$
 CJJ$HJ CJJ!+, CJJ(! !q?D4r>   