disable strange logging
This commit is contained in:
parent
c4b39076b8
commit
923b3cdd82
1 changed files with 4 additions and 4 deletions
|
@ -210,10 +210,10 @@ instance Yesod App where
|
|||
|
||||
-- What messages should be logged. The following includes all messages when
|
||||
-- in development, and warnings and errors in production.
|
||||
shouldLog app _source level =
|
||||
appShouldLogAll (appSettings app)
|
||||
|| level == LevelWarn
|
||||
|| level == LevelError
|
||||
-- shouldLog app _source level =
|
||||
-- appShouldLogAll (appSettings app)
|
||||
-- || level == LevelWarn
|
||||
-- || level == LevelError
|
||||
|
||||
makeLogger = return . appLogger
|
||||
|
||||
|
|
Loading…
Reference in a new issue