Log level per-app?

Would it be possible to allow assigning different log levels for different apps?

The reason I think it would be useful is that while some apps treat, for example, “info” log level as “important information messages”, the other apps just dump tens of thousands completely useless debug messages at “info” level (the News app is one example). So if one wants to periodically review logs (for instance, for security reasons), such apps basically cannot be used, as they would obliterate logs very quickly.

Since the functionality and the number of apps in Nextcloud only grows, I can see this only getting worse. So perhaps allowing for this extra flexibility could be very useful.

1 Like

I came exactly for this; a log level per application would be a life saver, when dealing with tons of logs.