Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Allow hierarchical filtering of logger namespaces #22859

Merged
merged 7 commits into from
Jun 4, 2024

Commits on Jun 3, 2024

  1. POC: Allow hierarchical filtering of logger namespaces

    matches the closes defined namespace log level:
    
    advanced:
      log_namespaced_levels:
        'zh:zstack:unpi': info
    
    would also apply to zh:zstack:unpi:write and zh:zstack:unpi:parse
    
    To limit runtime penalty uses the namespacedLevels as a lazy cache
    ghoz authored and Nerivec committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    dbde825 View commit details
    Browse the repository at this point in the history
  2. Move namespace levels to separate cache

    Avoid poluting the namespacedLevel in the config / UI
    Add cache reset on config time log level change
    ghoz authored and Nerivec committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    87540a8 View commit details
    Browse the repository at this point in the history
  3. Actually use the cache

    ghoz authored and Nerivec committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    e813cf1 View commit details
    Browse the repository at this point in the history
  4. Optimize/Cleanup

    Nerivec committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0caeb07 View commit details
    Browse the repository at this point in the history
  5. Add some namespace hierarchy filter tests

    ghoz authored and Nerivec committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    803c76b View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. More coverage.

    Nerivec committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    8cce8a3 View commit details
    Browse the repository at this point in the history
  2. Fix Koenkk#22935

    Nerivec committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    827e18e View commit details
    Browse the repository at this point in the history