summaryrefslogtreecommitdiffhomepage
path: root/HTTP/Server.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-09-14 18:21:25 -0400
committerJoey Hess <joeyh@joeyh.name>2016-09-14 18:21:25 -0400
commitf6bd6ae12ab694cab6a753a8a445407ed6f30bee (patch)
tree4f7cb43b6968a473485e977711472f000129a4cd /HTTP/Server.hs
parentcef0abc549c1f749088fef167b314ccccbc0bb67 (diff)
downloadkeysafe-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.hs3
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