Current Dir: /snap/core22/2955/usr/share/subiquity/subiquitycore/__pycache__/

[FILE] async_helpers.cpython-310.pyc [ edit | delete | rename ]
[FILE] context.cpython-310.pyc [ edit | delete | rename ]
[FILE] controller.cpython-310.pyc [ edit | delete | rename ]
[FILE] controllerset.cpython-310.pyc [ edit | delete | rename ]
[FILE] core.cpython-310.pyc [ edit | delete | rename ]
[FILE] file_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] i18n.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] lsb_release.cpython-310.pyc [ edit | delete | rename ]
[FILE] netplan.cpython-310.pyc [ edit | delete | rename ]
[FILE] palette.cpython-310.pyc [ edit | delete | rename ]
[FILE] prober.cpython-310.pyc [ edit | delete | rename ]
[FILE] pubsub.cpython-310.pyc [ edit | delete | rename ]
[FILE] screen.cpython-310.pyc [ edit | delete | rename ]
[FILE] snapd.cpython-310.pyc [ edit | delete | rename ]
[FILE] ssh.cpython-310.pyc [ edit | delete | rename ]
[FILE] tui.cpython-310.pyc [ edit | delete | rename ]
[FILE] tuicontroller.cpython-310.pyc [ edit | delete | rename ]
[FILE] utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] view.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]

Viewing: /snap/core22/2955/usr/share/subiquity/subiquitycore/__pycache__/log.cpython-310.pyc

o

K��^1�@s6ddlZddlZddlZddlmZmZddd�ZdS)�N)�
_DEF_PERMS�
_DEF_GROUP�	subiquityc	Cs tj|dd�t��dkrt�|d�t�|dt�t�j�t	�
d�}|�t	j�i}dD]`}tj
�|d�||��}d	�|t���}t	�|�}t�|t�t��dkr^t�|dt�t�j�|d
}t�tj
�|�|�t�||�|�tt	|����|�t	�d��|�|�|||<q-|S)NT)�exist_okri�����)�info�debugz	{}-{}.logz{}.{}z.linkz9%(asctime)s %(levelname)s %(name)s:%(lineno)d %(message)s)�os�makedirs�getuid�chmod�chown�grp�getgrnamr�gr_gid�logging�	getLogger�setLevel�DEBUG�path�join�format�getpid�FileHandlerr�symlink�basename�rename�getattr�upper�setFormatter�	Formatter�
addHandler)	�dir�base�logger�r�level�
nopid_file�logfile�handler�tmplink�r,�)/usr/share/subiquity/subiquitycore/log.py�setup_loggers4

��

r.)r)rrr
�subiquitycore.file_utilrrr.r,r,r,r-�<module>s

Upload File: