matrix-appservice-irc
matrix-appservice-irc copied to clipboard
[FR] Different logging level for file and console output
I don’t want my journald log being filled with DEBUG infos, but it could be useful to store them in a file (while keeping WARN/ERROR in journald).
I really don't want to post a "send me a copy too" thing here…
This Feature Request didn't have any movement the last 6 years.
I would like to have warnings / errors in my systemd journal. So that a plain journcalctl … shows the really important things ("Oh? Looks like I should take a look?"). If it's empty, then I am happy.
And then I would like to have a rotated, detailed log. That's great for "Okay, something went wrong, maybe the info or debug log has more detail to help me?".
TBH it doesn't sound too complicated to implement?
- Add another key in the
loggingconfig. MaybeconsoleLevel? - Let it default to the value of
level - Use it to setup the console logger