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

Control logs via db flag #146

Open
LucaBernstein opened this issue Jun 7, 2022 · 0 comments
Open

Control logs via db flag #146

LucaBernstein opened this issue Jun 7, 2022 · 0 comments
Labels
Bot enhancement New feature or request

Comments

@LucaBernstein
Copy link
Owner

LucaBernstein commented Jun 7, 2022

turn off job run logs being written via flag in db app settings:

bc_tg_bot  | 2022/06/07 13:00:00 [TRACE] Job overview:
bc_tg_bot  |   0 - running: true, error: '', lastRun: 2022-06-07 13:00:00.007579911 +0000 UTC, nextRun: 2022-06-07 14:00:00 +0000 UTC, runCount: 379
bc_tg_bot  |   Current timestamp: 2022-06-07 13:00:00.010720082 +0000 UTC m=+1363152.611244030 (hour: 13)

Control all logs via level limits in db setting (app namespace). Only logs more severe than at least set level will be logged.

Search for logging package that does this automatically and can define different logging areas depending on app area.

@LucaBernstein LucaBernstein added the enhancement New feature or request label Jun 7, 2022
@LucaBernstein LucaBernstein changed the title Control job logs via db flag Control logs via db flag Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant