Fixed MyApp
commit1a99848e030fda564e9062180b20f5041d0664bf
authorChris Allen <cma@bitemyapp.com>
dateWed 11 Oct 2017, 12:31 (9 years ago)
parenta5b6e8b
katip-elasticsearch/src/Katip/Scribes/ElasticSearch.hs+1−2
@@ -14,7 +14,6 @@
1414-- import Katip
1515-- import Katip.Scribes.ElasticSearch
1616--
17−--
1817-- main :: IO ()
1918-- main = do
2019-- mgr <- newManager defaultManagerSettings
@@ -29,7 +28,7 @@
2928-- (MappingName "application-logs")
3029-- DebugS
3130-- V3
32−-- let mkLogEnv = registerScribe "es" esScribe defaultScribeSettings =<< initLogEnv "MyApp" "production"
31+-- let mkLogEnv = registerScribe "es" esScribe defaultScribeSettings =<< initLogEnv \"MyApp\" "production"
3332-- bracket mkLogEnv closeScribes $ \\le -> runKatipT le $ do
3433-- logMsg "ns" InfoS "This goes to elasticsearch"
3534--