Answer the question
In order to leave comments, you need to log in
Change the severity of the resque log?
In the worker, an exception may occur that is thrown by the fail instruction, after which the worker crashes and the resque master process writes this information to the logger, but the default severity for exceptions is INFO for some reason, although ERROR is more logical.
Is there a way to set the severity of exceptions to ERROR?
Answer the question
In order to leave comments, you need to log in
redefined the log formatter so that if there was an exception description in the message, severity would be artificially increased.
not a very beautiful solution (crutch), but I don’t see other options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question