katip-elasticsearch 0.4.0.1 → 0.4.0.2
raw patch · 3 files changed
+19/−10 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- katip-elasticsearch.cabal +9/−3
- src/Katip/Scribes/ElasticSearch.hs +6/−7
changelog.md view
@@ -1,3 +1,7 @@+0.4.0.2+=======+* Add repository/homepage info to cabal file+ 0.4.0.1 ======= * Bump dependencies to allow GHC 8.2.1
katip-elasticsearch.cabal view
@@ -1,13 +1,15 @@ name: katip-elasticsearch synopsis: ElasticSearch scribe for the Katip logging framework. description: See README.md for more details.-version: 0.4.0.1+version: 0.4.0.2 license: BSD3 license-file: LICENSE author: Ozgun Ataman, Michael Xavier maintainer: michael.xavier@soostone.com-copyright: Soostone Inc, 2015-2016-category: Data+copyright: Soostone Inc, 2015-2017+category: Data, Text, Logging+homepage: https://github.com/Soostone/katip+bug-reports: https://github.com/Soostone/katip/issues build-type: Simple cabal-version: >=1.10 extra-source-files:@@ -17,6 +19,10 @@ examples/example.hs test/Main.hs tested-with: GHC == 7.8.4, GHC== 7.10.3++source-repository head+ type: git+ location: https://github.com/Soostone/katip.git flag lib-Werror default: False
src/Katip/Scribes/ElasticSearch.hs view
@@ -14,7 +14,6 @@ -- import Katip -- import Katip.Scribes.ElasticSearch ----- -- main :: IO () -- main = do -- mgr <- newManager defaultManagerSettings@@ -25,12 +24,12 @@ -- -- Reasonable for single-node in development -- -- defaultEsScribeCfgV5 { essIndexSettings = IndexSettings (ShardCound 1) (ReplicaCount 0)} -- bhe--- (IndexName "all-indices-prefixed-with")--- (MappingName "application-logs")--- DebugS--- V3--- let mkLogEnv = registerScribe "es" esScribe defaultScribeSettings =<< initLogEnv "MyApp" "production"--- bracket mkLogEnv closeScribes $ \le -> runKatipT le $ do+-- (IndexName "all-indices-prefixed-with")+-- (MappingName "application-logs")+-- DebugS+-- V3+-- let mkLogEnv = registerScribe "es" esScribe defaultScribeSettings =<< initLogEnv \"MyApp\" "production"+-- bracket mkLogEnv closeScribes $ \\le -> runKatipT le $ do -- logMsg "ns" InfoS "This goes to elasticsearch" -- -- @