| Server IP : 146.190.157.162 / Your IP : 216.73.216.238 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/apport/__pycache__/ |
Upload File : |
�
��dt � �B � d Z ddlZddlZddlZd d�Zd� Zd� Zd� Zd� ZdS )
zLegacy logging functions.� NFc � � |r4t j � t j d� � � d�� � t | � � dS )z?Log the given string to stdout. Prepend timestamp if requested.z%x %Xz: N)�sys�stdout�write�time�strftime�print)�message� timestamps �0/usr/lib/python3/dist-packages/apport/logging.py�logr
sB � �� 8��
���D�M�'�2�2�6�6�6�7�7�7� �'�N�N�N�N�N� c �H � t | g|�R � t j d� � dS )z0Print out an error message and exit the program.� N)�errorr �exit��msg�argss r �fatalr s) � � �#��������H�Q�K�K�K�K�Kr c �� � t j rbt j � d� � t j � | |z � � t j � d� � dS dS )zPrint out an error message.zERROR: �
N�r �stderrr r s r r r sb � �
�z� ��
����#�#�#��
����t��$�$�$��
���������� r c �� � t j rbt j � d� � t j � | |z � � t j � d� � dS dS )zPrint out an warning message.z WARNING: r Nr r s r �warningr sb � �
�z� ��
����%�%�%��
����t��$�$�$��
���������� r c � � dt j vst j sdS i }t dd�� � 5 }|D ]L}|� d� � r5|� � � \ }}}t |� � dz ||dd� <