mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Turn down verbosity
This commit is contained in:
parent
904c3f3e70
commit
7999af1bf1
@ -139,6 +139,7 @@ instance Yesod App where
|
||||
|
||||
-- What messages should be logged. The following includes all messages when
|
||||
-- in development, and warnings and errors in production.
|
||||
shouldLog _ "CLEANUP" _ = False
|
||||
shouldLog _ source level =
|
||||
development || level == LevelWarn || level == LevelError || source == "CLEANUP"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user