| Server IP : 159.223.102.202 / Your IP : 216.73.217.92 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/uaclient/__pycache__/ |
Upload File : |
�
|f� � �� � d dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dl m
Z
mZmZ G d� dej � Z G d� dej � Zd efd
�Zd ee fd�Zd� Zy)
� N)�OrderedDict)�Any�Dict�List)�defaults�system�utilc �0 � e Zd ZdZdej
fd�Zy)�RedactionFilterz,A logging filter to redact confidential info�recordc �^ � t j t |j � � |_ y)NT)r �redact_sensitive_logs�str�msg)�selfr s �./usr/lib/python3/dist-packages/uaclient/log.py�filterzRedactionFilter.filter
s � ��/�/��F�J�J��@��
�� N)�__name__�
__module__�__qualname__�__doc__�logging� LogRecordr � r r r r
s � �6��W�.�.� r r c �@ � e Zd ZdZdZdZdZdej de fd�Z
y) �JsonArrayFormatterzYJson Array Formatter for our logging mechanism
Custom made for Pro logging needs
z%Y-%m-%dT%H:%M:%Sz%s.%03d)�asctime� levelname�name�funcName�lineno�messager �returnc � � |j � |_ | j |� |_ i }|j r| j |j � |d<