| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/cloudinit/reporting/ |
Upload File : |
�
oB�]c @ sc d Z d d l m Z d d l m Z i i d d 6d 6Z d � Z d � Z e � Z e e � d
S( s�
cloud-init reporting framework
The reporting framework is intended to allow all parts of cloud-init to
report events in a structured manner.
i ( t DictRegistryi ( t available_handlerst logt typet loggingc C s� x� | j � D]v \ } } | s8 t j | d t �q
n | j � } t j | j d � } t j | � | | � } t j | | � q
Wd S( s� Update the instantiated_handler_registry.
:param config:
The dictionary containing changes to apply. If a key is given
with a False-ish value, the registered handler matching that name
will be unregistered.
t forceR N( t itemst instantiated_handler_registryt unregister_itemt Truet copyR t registered_itemst popt
register_item( t configt handler_namet handler_configt clst instance( ( s@ /usr/lib/python2.7/site-packages/cloudinit/reporting/__init__.pyt update_configuration s
c C s@ x9 t j j � D]( \ } } t | d � r | j � q q Wd S( Nt flush( R R R t hasattrR ( t _t handler( ( s@ /usr/lib/python2.7/site-packages/cloudinit/reporting/__init__.pyt flush_events( s N( t __doc__t registryR t handlersR t DEFAULT_CONFIGR R R ( ( ( s@ /usr/lib/python2.7/site-packages/cloudinit/reporting/__init__.pyt <module>
s