HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //snap/core18/2956/usr/lib/python3/dist-packages/cloudinit/__pycache__/patcher.cpython-36.pyc
3

�Adj�@s2ddlZddlZdZGdd�dej�Zdd�ZdS)	�Nz5FALLBACK: %(asctime)s - %(filename)s[%(levelname)s]: z%(message)sc@seZdZdd�ZdS)�QuietStreamHandlercCsdS)N�)�self�recordrr�3/usr/lib/python3/dist-packages/cloudinit/patcher.py�handleErrorszQuietStreamHandler.handleErrorN)�__name__�
__module__�__qualname__rrrrrrsrcs8ttj���jtjt���fdd�}ttjd|�dS)Ncs0y�j|��j�Wntk
r*YnXdS)N)Zhandle�flush�IOError)rr)�fallback_handlerrrr s

z"patch_logging.<locals>.handleErrorr)	r�sys�stderrZsetFormatter�loggingZ	Formatter�FALL_FORMAT�setattrZHandler)rr)r
r�
patch_loggings
rz@FALLBACK: %(asctime)s - %(filename)s[%(levelname)s]: %(message)s)rrrZ
StreamHandlerrrrrrr�<module>	s