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

Feature: Allow filtering logs by name #1355

Merged
merged 7 commits into from
Jan 13, 2023
Merged

Feature: Allow filtering logs by name #1355

merged 7 commits into from
Jan 13, 2023

Conversation

glensc
Copy link
Collaborator

@glensc glensc commented Jan 12, 2023

This example turns off all logs for typical "sync" command run :)

  # Additional logger names to apply filtering
  filter_loggers:
    - plexapi
    - requests_cache.backends
    - requests_cache.backends.base
    - requests_cache.backends.sqlite
    - requests_cache.policy.actions
    - requests_cache.session
    - trakt.core
    - urllib3.connectionpool
  filter:
    - name: PlexTraktSync
    - name: PlexTraktSync.PlexServerConnection
    - name: plexapi
    - name: requests_cache.backends
    - name: requests_cache.backends.base
    - name: requests_cache.backends.sqlite
    - name: requests_cache.policy.actions
    - name: trakt.core
    - name: urllib3.connectionpool

x-ref:

@glensc glensc self-assigned this Jan 12, 2023
@glensc glensc added the docs needed Changes in this issue/pull request need to be documented label Jan 12, 2023
@glensc glensc merged commit ec7eacf into Taxel:main Jan 13, 2023
@glensc glensc deleted the logger.name branch January 13, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs needed Changes in this issue/pull request need to be documented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant