[bug] Logging at :error level is too noisy #602
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#602
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
FreeBSD 13.2
Version
3.9.3
PostgreSQL version
14
What were you trying to do?
While diagnosing a problem I turned logging on at the error level.
What did you expect to happen?
Syslog seems like a place you'd want serious system errors only if your log level is set to :error, both to make the actual errors stand out and so as not to make syslog seem useless for anything that isn't Akkoma.
What actually happened?
When logging is enabled at the :error level, the log is constantly spammed with messages of two types that seem like maybe they should be less severe than :error.
Logs
Severity
I cannot use it as easily as I'd like
Have you searched for this issue?
As an experiment I've set those two things to
Logger.warning
instead ofLogger.error
on my own instance while I'm trying to diagnose the actual problem with my server, and I realize this may be an Extremely Stupid Idea for reasons I'm an unbelievable jackass for not knowing, but I thought I'd at least ask and see if anybody else agrees with me.I have the same thing happening and the same thoughts. @fedward , can you share how you implemented the workaround of setting certain messages to warn?
I agree, those messages appears a lot in my logs too. But in general, debugging from production is hard in fedi softwares given the amount of activities generated by other instances.
Personally, in order to debug, I dump my db and run a local akkoma on it so i'm the only user there and since my local instance does not federate, I can easily reproduce issues