Open DavidLFielding opened 5 years ago
A lot of the noise is probably going to come from arxiv.submission
, especially arxiv.submission.services.classic
. We could add a configuration parameter, e.g. CORE_LOG_LEVEL: int
, and then in factory.py
grab the core loggers and set their level separately from the app loggers.
This issue directly impacts developers. When testing I find the log lines I'm looking for are lost in a constant stream of unimportant log messages. Even when not using the submission system the log messages stream on by at a noticeable pace.
I suspect there may be a way to change the log level or silence these messages but I have not had time to investigate.
One possibility is to replace with a 'summary' of a frequently repeated message.
"Error such-and-such has occurred X times since DATETIME. Silent for the next Y minutes."
These wasteful log messages may have a direct impact on space usage and ultimately cost us real money.