pynetdicom._config.LOG_HANDLER_LEVEL

pynetdicom._config.LOG_HANDLER_LEVEL = 'standard'

Default (non-user) event logging

  • If 'none' then events will not be logged at all, however there will still be some logging (warnings, errors, etc)

  • If 'standard' then certain events will be logged (association negotiation, DIMSE messaging, etc)

Examples

>>> from pynetdicom import _config
>>> _config.LOG_HANDLER_LEVEL = 'none'