logging disabled
This commit is contained in:
parent
a388599871
commit
ca66840127
1 changed files with 4 additions and 4 deletions
|
@ -193,10 +193,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