summaryrefslogtreecommitdiff
path: root/bragi
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-07-17 20:25:41 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-07-17 20:25:41 +0200
commit54c39eb98c87c6afc8e68daa20d46a253107a79f (patch)
tree2b8edfe661e2678affac936fef10a1d207d4e2e8 /bragi
parent1c7617e664d19df7f89008a4e6fd91b3f292daf7 (diff)
downloadnixos-54c39eb98c87c6afc8e68daa20d46a253107a79f.tar
nixos-54c39eb98c87c6afc8e68daa20d46a253107a79f.tar.gz
nixos-54c39eb98c87c6afc8e68daa20d46a253107a79f.tar.bz2
nixos-54c39eb98c87c6afc8e68daa20d46a253107a79f.tar.xz
nixos-54c39eb98c87c6afc8e68daa20d46a253107a79f.zip
Suppress debug
Diffstat (limited to 'bragi')
-rw-r--r--bragi/thermoprint-server/thermoprint-server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi/thermoprint-server/thermoprint-server.hs b/bragi/thermoprint-server/thermoprint-server.hs
index 4635dd0a..5818ea4a 100644
--- a/bragi/thermoprint-server/thermoprint-server.hs
+++ b/bragi/thermoprint-server/thermoprint-server.hs
@@ -23,7 +23,7 @@ main :: IO ()
23main = thermoprintServer True (Nat runDb) $ configure <$> def `withPrinters` printers' 23main = thermoprintServer True (Nat runDb) $ configure <$> def `withPrinters` printers'
24 where 24 where
25 runDb :: ServerM a -> IO a 25 runDb :: ServerM a -> IO a
26 runDb = runStderrLoggingT . withPostgresqlPool "" 5 . runReaderT 26 runDb = runStderrLoggingT . filterLogger (\_ lvl -> lvl >= LevelInfo) . withPostgresqlPool "" 5 . runReaderT
27 27
28 printers' = [ (pure $ genericPrint "/dev/usb/lp0", def :: QMConfig (ResourceT ServerM)) 28 printers' = [ (pure $ genericPrint "/dev/usb/lp0", def :: QMConfig (ResourceT ServerM))
29 ] 29 ]