@wiz I’ve been useing the guide from the yesod book here. If you go to the section I/O and debugging, you can see that the shouldLogIO
is overridden to return True. I’ve overridden that to return False this turned of the initial log output when you start the application but each request is still being logged to the console.
@jaspervdj thanks for the suggestion. I checked out the defaultSettings funciton that should be ran when you use the run command vs the runSettings command.
defaultSettings :: Settings
defaultSettings = Settings
{ settingsPort = 3000
....
, settingsLogger = \_ _ _ -> return ()
...
}
It appears that it’s set to not output anything.
As is in the book example provided above, I am running with something like
main :: IO ()
main = warp 3000 App
the warp function is from the Yesod.Core and I’m looking around in there to see if there’s anything else that disables logging besides shouldLogIO.