܍~c(tdZddlmZddlmZddlmZmZdddiiZdZ d Z eZ e ed S) z cloud-init reporting framework The reporting framework is intended to allow all parts of cloud-init to report events in a structured manner. )Type) DictRegistry) HandlerTypeavailable_handlersloggingtypelogcd|D]\}}|st|d$|}tj|d}t||di|}t||dS)zUpdate 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)forcerN)itemsinstantiated_handler_registryunregister_itemcopyrregistered_itemspop register_item)config handler_namehandler_configclsinstances >/usr/lib/python3/dist-packages/cloudinit/reporting/__init__.pyupdate_configurationrs)/  L L$ n  ) 9 9D :    ',,..!3!D   v & &"  &55lCCC3((((%33L(KKKK L LcptjD]}|dS)N)rrvaluesflush)handlers r flush_eventsr -s90AHHJJ rN) __doc__typingrcloudinit.registryrcloudinit.reporting.handlersrrDEFAULT_CONFIGrr rr rrr&s ++++++HHHHHHHH LLL. !- ^$$$$$r