Skip to content
Snippets Groups Projects
  • Frank Winklmeier's avatar
    62a6601e
    TriggerMenuMT: add custom log formatter · 62a6601e
    Frank Winklmeier authored
    Add a custom `logging` formatter for all child loggers in the
    TriggerMenuMT package. Due to the deep module hierarchy, logger names
    often become too long and make log file reading difficult. The custom
    formatter now only shows the first and last module name, e.g.:
    
    Py:TriggerMenuMT.HLTMenuConfig.UnconventionalTracking.FullScanLRTConfiguration
    becomes
    Py:TriggerMenuMT:FullScanLRTConfiguration
    
    Also remove all custom logger names and use the module `__name__`
    consistently.
    62a6601e
    History
    TriggerMenuMT: add custom log formatter
    Frank Winklmeier authored
    Add a custom `logging` formatter for all child loggers in the
    TriggerMenuMT package. Due to the deep module hierarchy, logger names
    often become too long and make log file reading difficult. The custom
    formatter now only shows the first and last module name, e.g.:
    
    Py:TriggerMenuMT.HLTMenuConfig.UnconventionalTracking.FullScanLRTConfiguration
    becomes
    Py:TriggerMenuMT:FullScanLRTConfiguration
    
    Also remove all custom logger names and use the module `__name__`
    consistently.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.