Your IP : 3.138.134.149
�
c��f�� � � � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlmZm
Z
dZej Zdadd�Zd� 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)edfd�Z*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)�ThreadingTCPServer�StreamRequestHandleriF# 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 file�readline)�encodingz
is invalid: )�configparser�
isinstance�str�os�path�exists�FileNotFoundError�getsize�RuntimeError�RawConfigParser�ConfigParser�hasattr� read_file�io�
text_encoding�read�ParsingError�_create_formatters�logging�_acquireLock�_clearExistingHandlers�_install_handlers�_install_loggers�_releaseLock) �fname�defaults�disable_existing_loggersr r �cp�e�
formatters�handlerss �5/opt/alt/python311/lib64/python3.11/logging/config.py�
fileConfigr( 4 s� � � �����%���� <��w�~�~�e�$�$� <�#�u�$<�$<�$<�=�=�=������'�'� <��%�:�:�:�;�;�;��%��5�6�6� ;�
��� ;��*�*�8�4�4�B��u�j�)�)�
2����U�#�#�#�#��+�H�5�5��������1�1�1����(� ;� ;� ;��%�9�9�a�9�9�:�:�:����� ;���� $�B�'�'�J� ������� � � � %�R��4�4����X�'?�@�@�@�����������������s% �A&C<