Skip to content

feat: logger config #4548

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: logger config #4548

wants to merge 1 commit into from

Conversation

dvikan
Copy link
Contributor

@dvikan dvikan commented May 9, 2025

here in which i suggest two new config options to tweak log file path and level

; Where to store logs and at which level (debug, info, warning, error)
;log_file_path = "/tmp/rss-bridge.log"
;log_file_level = "info"

disabled by default

im looking for better names or perhaps a separate logger section in ini file?

@Mynacol @Bockiii

@dvikan
Copy link
Contributor Author

dvikan commented May 24, 2025

Also an alternative is a new section e.g.:

[Logging]
file_path = "/var/log/rssbridge.log"
file_level = "INFO"

slack_key = "23423423"
slack_channel="23c234234234c"

@Mynacol
Copy link
Contributor

Mynacol commented May 28, 2025

Nice addition. I would prefer the new section approach to better group the two options. And a lowercase logging section name for consistency with other (non-cache) options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants