관리-도구
편집 파일: cloudlinux-summary.cpython-311.opt-1.pyc
� �EBg � �~ � d dl Z d dlZd dlmZmZ d dlmZ d� Zd� Ze dk r ee j dd� � � dS dS )� N)�CloudlinuxSummary�LOG_FILE)�init_lve_utils_sentry_clientc �~ � t � � t d� � t � � � | � � S )z Main run function �cloudlinux-summary)� create_loggerr r �run)�argvs �*py/cllimits/cl_utils/cloudlinux-summary.py�mainr s6 � � �O�O�O� �!5�6�6�6����"�"�4�(�(�(� c � � t j d� � } | � t j � � t j t � � }t j d� � }|� |� � | � |� � dS )z* Create and set params of logging r z4%(asctime)s - %(name)s - %(levelname)s - %(message)sN) �logging� getLogger�setLevel�INFO�FileHandlerr � Formatter�setFormatter� addHandler)� app_logger�fh� formatters r r r sz � � �"�#7�8�8�J������%�%�%� � �X� &� &�B��!�"X�Y�Y�I��O�O�I�������"�����r �__main__� )�sysr �clsummary.summaryr r �lve_utils.sentryr r r �__name__r � r r �<module>r! s� �� � � � � ���� 9� 9� 9� 9� 9� 9� 9� 9� 9� 9� 9� 9� 9� 9�)� )� )�� � �"