python (3.11.7)
    e                        d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZm
Z
 dZej        ZdaddZd Zd Zd	 Zd
 Zd Zd Zd
 Z ej        dej                  Zd Z G d de          Z G d de e          Z! G d de"e          Z# G d de$e          Z% G d de          Z& G d de&          Z'e'Z(d Z)edfdZ*d Z+dS ) a  
Configuration functions for the logging package for Python. The core package
is based on PEP 282 and comments thereto in comp.lang.python, and influenced
by Apache's log4j system.
Copyright (C) 2001-2023 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away!
    N)ThreadingTCPServerStreamRequestHandleriF#  Tc                 B   ddl }t          | t                    rbt          j                            |           st
          |  d          t          j                            |           st          |  d          t          | |j	                  r| }n	 |
                    |          }t          | d          r|                    |            n+t          j        |          }|                    | |           n&# |j        $ r}t          |  d|           d}~ww xY wt#          |          }t%          j                     	 t)                       t+          ||          }t-          |||           t%          j                     dS # t%          j                     w xY w)aD  
    Read the logging configuration from a ConfigParser-format file.
    This can be called several times from an application, allowing an end user
    the ability to select from various pre-canned configurations (if the
    developer provides a mechanism to present the choices and load the chosen
    configuration).
    r   Nz doesn't existz is an empty filereadline)encodingz
 is invalid: )configparser
isinstancestrospathexistsFileNotFoundErrorgetsizeRuntimeErrorRawConfigParserConfigParserhasattr	read_fileio
text_encodingreadParsingError_create_formatterslogging_acquireLock_clearExistingHandlers_install_handlers_install_loggers_releaseLock)	fnamedefaultsdisable_existing_loggersr   r   cpe
formattershandlerss	            B/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/logging/config.py
fileConfigr(   4   s    % <w~~e$$ 	<#u$<$<$<===''