403Webshell
Server IP : 188.114.96.3  /  Your IP : 216.73.216.30
Web Server : LiteSpeed
System : Linux vmi2710904 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64
User : rarch5794 ( 1006)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/uaclient/cli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/uaclient/cli/__pycache__/collect_logs.cpython-310.pyc
o

��Jhj�
@s�ddlZddlZddlZddlZddlmZddlmZddlm	Z	m
Z
mZddlm
Z
ddlmZdZe�ee��Zdd	�Zed
ejejdee
je
e	dd
ejd�gd�gd�ZdS)�N)�messages)�collect_logs)�ProArgument�ProArgumentGroup�
ProCommand)�HelpCategory)�replace_top_level_logger_namezpro_logs.tar.gzcKs|jpt}t���u}t||�zt�|d��}|j|dd�Wd�n1s(wYWnGtyL}zt	�
|�WYd}~Wd�dSd}~wtyu}zt	�
|�tt
jj|d�tjd�WYd}~Wd�dSd}~wwWd�dS1s�wYdS)Nzx:gzzlogs/)�arcname�)�filename)�filer)�output�PRO_COLLECT_LOGS_FILE�tempfile�TemporaryDirectoryr�tarfile�open�add�PermissionError�LOG�error�FileExistsError�printr�E_FILE_ALREADY_EXISTS�format�sys�stderr)�args�cfg�kwargs�output_file�
output_dir�results�e�r$�;/usr/lib/python3/dist-packages/uaclient/cli/collect_logs.py�action_collect_logss<


��

��
��
���
��r&zcollect-logsTz--outputz-o)�
short_name�help)�	arguments)r(�description�preserve_description�action�
help_category�argument_groups)�loggingrrr�uaclientr�uaclient.actionsr�uaclient.cli.commandsrrr�uaclient.cli.parserr�
uaclient.utilrr�	getLogger�__name__rr&�CLI_ROOT_COLLECT_LOGS�CLI_COLLECT_LOGS_DESC�TROUBLESHOOT�CLI_COLLECT_LOGS_OUTPUT�collect_logs_commandr$r$r$r%�<module>s:����
�

Youez - 2016 - github.com/yon3zu
LinuXploit