Merge in logformat fn if set

parent 74c84d80
......@@ -108,8 +108,11 @@ If you depend on third party code that use `clojure/tools.logging`, `slf4j`, `jc
`log4j` or `jul` for logging, those log entries will be consumed by `Envelope` and
injected into your log. You don't need to do anything for this to work.
*Note*: If any of your dependencies depends on an older
`slf4j-api` than "1.7.14", there might be problems.
**Note**: Some libraries (datomic peer being one of these) will look at your
dependency graph and try redirect their log output to known log targets they
find there. If you are seeing some components not using `envelope`, try using
`:exclusions` in your dependency graph to remove transient dependencies to
`slf4j`, `logback` and other logging frameworks.
### Context
......@@ -7,13 +7,4 @@
com.fzakaria/slf4j-timbre {:mvn/version "0.3.12"}
org.slf4j/log4j-over-slf4j {:mvn/version "1.7.14"}
org.slf4j/jul-to-slf4j {:mvn/version "1.7.14"}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.14"}}
:aliases {:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "RELEASE"}}}
{:extra-deps {com.cognitect/test-runner
{:git/url ""
:sha "76568540e7f40268ad2b646110f237a60295fa3c"}}
:main-opts ["-m" "cognitect.test-runner"
"-d" "test"]}}}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.14"}}}
(defproject no.nsd/envelope "0.1.0"
(defproject no.nsd/envelope "0.1.1"
:description "A thin wrapper around taoensso.timbre with built in settings for logging to NSD's ELK stack"
:url ""
:license {:name "Eclipse Public License"
......@@ -70,7 +70,8 @@
(if elk? :info :debug))
:output-fn (if elk?
(partial nsd-logstash-format-fn current-conf)
(or (:output-fn current-conf)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment