Turn down verbosity

This commit is contained in:
Michael Snoyman 2014-10-23 21:19:22 +03:00
parent 904c3f3e70
commit 7999af1bf1

View file

@ -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"