| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/imunify360/venv/lib/python3.11/site-packages/restore_infected/__pycache__/ |
Upload File : |
�
ޡ�eT � �. � d dl Zd dlZd dlmZ dZdZdZdZd Z ej
d� � Z ej
d� � Ze eej
geeej geeej geeej giZd Zd
ZdZdZi Z ej � � Zeed
dgZd� Zd� Zd� Zd� Zefd�Zd� Zd� ZdS )� N)�WatchedFileHandlerz$/var/log/cloudlinux-backup-utils.log� � � z%(message)sz3%(levelname)-7s [%(asctime)s] %(name)s: %(message)s�restore_infectedzrestore_infected.cli�file�console�AcronisClientInstaller�requestsc � � t D ]5} t j | � � }|j D ]}|� |� � ��6d S �N)�ALL_LOGGERS�logging� getLogger�handlers�
removeHandler)�logger_name�logger�handlers �I/opt/imunify360/venv/lib/python3.11/site-packages/restore_infected/log.py�clear_log_handlersr ) sX � �"� *� *���"�;�/�/���� *� *�G�� � ��)�)�)�)� *�*� *� c �l � t D ]+}t j |� � }|� | � � �,d S r
)r r r �
addHandler�r r r s r �_add_log_handlerr 0 sB � �"� #� #���"�;�/�/�����'�"�"�"�"�#� #r c �l � t D ]+}t j |� � }|� | � � �,d S r
)r r r r r s r �_remove_log_handlerr 6 sB � �"� &� &���"�;�/�/�����W�%�%�%�%�&� &r c �L � t � � t j t � � } | � t j � � t � t j � � t � t � � | �
t � � d S r
)r r r �
CLI_LOGGER�setLevel�DEBUG�stream_handler�INFO�setFormatter�_format_conciser )r s r �log_only_cli_moduler'