403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/container_log.cpython-36.opt-1.pyc
3

ܓ�i*�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPlugin�	PluginOptc@sTeZdZdZdZdZdZededgZefZe	dde
d	d
�gZdd�Zd
d�Z
dS)�ContainerLogz"All logs under /var/log/containersZ
container_logz/var/log/containers/z/var/log/pods/z	*/*.log.*z*/*/*.log.*�rotatedFz(also get rotated logs from /var/log/pods)�defaultZval_typeZdesccCsX|jd�r.|j|j�|jd�rT|j|j�n&|j|jd�|jd�rT|j|jd�dS)NZall_logsrz*.logz*.log.*)Z
get_option�
add_copy_spec�logdir�rotated_dirs�collect_subdirs�poddir)�self�r�#/usr/lib/python3.6/container_log.py�setups


zContainerLog.setupcCs0x*tj|�D]\}}}|j|j||��qWdS)z=Collect *.log files from subdirs of passed root path
        N)�os�walkrZ	path_join)r
�rootZglobZdir_name�_rrrr'szContainerLog.collect_subdirsN)�__name__�
__module__�__qualname__Z
short_descZplugin_namer	rr
�filesr�boolZoption_listrrrrrrrs

r)rZsos.report.pluginsrrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit