diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-14 18:21:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-14 18:21:25 -0400 |
commit | f6bd6ae12ab694cab6a753a8a445407ed6f30bee (patch) | |
tree | 4f7cb43b6968a473485e977711472f000129a4cd /HTTP/Server.hs | |
parent | cef0abc549c1f749088fef167b314ccccbc0bb67 (diff) | |
download | keysafe-f6bd6ae12ab694cab6a753a8a445407ed6f30bee.tar.gz |
Revert "add date to logger"
This reverts commit 0f0aa21ea11f6eae368326b178d4c3eaf5cc5186.
Dunno why, but this prevents it printing anything. Needs investigation.
Diffstat (limited to 'HTTP/Server.hs')
-rw-r--r-- | HTTP/Server.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/HTTP/Server.hs b/HTTP/Server.hs index c36a6cc..e2165eb 100644 --- a/HTTP/Server.hs +++ b/HTTP/Server.hs @@ -35,7 +35,8 @@ data ServerState = ServerState } newServerState :: Maybe LocalStorageDirectory -> ServerConfig -> IO ServerState -newServerState d cfg = withLogger $ \l -> +newServerState d cfg = do + l <- newLogger ServerState <$> newEmptyTMVarIO <*> pure d |