Commit Graph

614 Commits

Author SHA1 Message Date
Peter Taoussanis f03cad4829 README housekeeping 2018-10-26 13:38:24 +02:00
Peter Taoussanis eff5ee386b [BREAKING #155] Change default timestamp pattern to ISO8601 2018-10-26 13:30:01 +02:00
Rintaro Okamura eb9f3e4e81 [#257] Println appender hotfix: use `:error-level?` instead of `:error?` (@rinx)
Fixes typo in appender that was causing output to _always_ go to *out*
(instead of *out* or *error* depending on level).
2018-05-05 15:33:12 +02:00
Peter Taoussanis 83139385e7 [#255] PR housekeeping 2018-04-15 17:38:11 +02:00
Mike Kaplinskiy 7e87b10441 [#255] `:ns-log-level` feature to set a log level on a specific namespace/pattern (@mikekap) 2018-04-15 16:43:01 +02:00
Peter Taoussanis 645dff3f03 [#251] [Appenders] Spit: use :async? by default for thread safety (@schmee) 2018-04-15 16:08:16 +02:00
Martino Visintin bf02914ebf [#233] [3rd-party appender] Gelf: ensure `short_message` is not empty + add extra fields (@vise890)
Gelf really dislikes empty `short_message`s:
http://docs.graylog.org/en/2.2/pages/gelf.html#gelf-payload-specification

If `short_message` is not set (or is an empty string), the message will not
appear in the logs altogether.
2018-04-15 15:58:45 +02:00
Peter Taoussanis 68673fccd6 [#246] [3rd-party appender] Newrelic: fix ns typo (@jafingerhut) 2018-04-15 15:58:45 +02:00
Nicolas Berger 67f68c8e47 [#234] [Docs] Fix codox source-uri to play better with cljx files (@nberger)
cljx files are taken from the compiled file in target/classes for codox, but
the 'view source' links to those files should point to the original cljx file
in the src dir
2018-04-15 15:22:08 +02:00
Peter Taoussanis 22603b5134 v4.10.0 2017-04-15 13:14:07 +02:00
Peter Taoussanis 6a607c2e87 Bump deps 2017-04-15 13:10:04 +02:00
Peter Taoussanis 1c007f2e16 [#215] PR housekeeping 2017-04-15 13:10:04 +02:00
Samuel Otter 1a434293a3 [#215] Add 3rd-party appender for Sentry (@samuelotter)
Appender that sends events to Sentry (https://sentry.io/).
2017-04-15 13:10:04 +02:00
Peter Taoussanis 05cd4a771b [#216] PR housekeeping 2017-04-15 13:10:04 +02:00
Michael Cameron eb78de58c8 [#216] Cljs console appender: don't log superfluous 'null' for raw output (@michaelcameron) 2017-04-15 13:10:03 +02:00
Peter Taoussanis 44ce7e8613 [#218] Fix nullary version of `timbre.tools.logging/use-timbre` 2017-04-15 13:10:03 +02:00
Peter Taoussanis b5c998b46b [#199] More reliable fix for unintended warning output to cljs 2017-02-19 03:00:04 +01:00
Peter Taoussanis 44499d02e9 [#213] README: add example for disabling/removing appenders 2016-12-29 18:47:14 +01:00
Peter Taoussanis 6526637160 v4.8.0 2016-12-18 12:53:33 +01:00
Peter Taoussanis 2df03f9994 Bump deps 2016-12-18 12:50:31 +01:00
Peter Taoussanis f4266ab60e Allow nil args to `log!` (just print without message) 2016-12-18 12:50:30 +01:00
Peter Taoussanis a38dceff3b Default output fn: try use ?file when ?ns-str unavailable 2016-12-18 12:50:30 +01:00
Peter Taoussanis 4eb8433f8e Improve error message for logging calls with missing format pattern 2016-12-18 12:50:30 +01:00
Peter Taoussanis 4874458007 DEPRECATED: per-appender :middleware-fn
Why?
  Not actually much use to this in practice. In particular,
  the current implementation didn't support influence over
  :msg_ and :output_ vals through the modification of :vargs.

  Support could be added, but the impl. would need to be
  reasonably involved. The feature's utility just doesn't justify
  the cost necessary to do it right.

--

Note: per-appender :ns-whitelist, :ns-blacklist are unchanged.
2016-12-18 12:50:30 +01:00
Peter Taoussanis b1246da6e4 ns-form housekeeping 2016-12-18 12:50:30 +01:00
Peter Taoussanis 9b9dd210cc [#207] BREAKING: simplify impl., middleware no longer receive :msg_ or :hash_
These weren't used often (ever?) in middleware, and the removal allows
for a simpler+faster implementation here.
2016-12-18 12:50:30 +01:00
Peter Taoussanis e4f33c5341 [#207] Fix: middleware couldn't influence automatic msg_ generation
As of this commit:
The values of :msg_ and :output_ will depend on the actual value of
:vargs *at the time of first evaluation*.
2016-12-18 12:50:30 +01:00
Peter Taoussanis d6181ef1b0 [#199] Attempted fix for unintended elision warning output to cljs
This *should* do the trick, but still need to confirm. Certainly
won't hurt.
2016-12-18 12:50:30 +01:00
Peter Taoussanis 594e518c8e [#207] Add docstring for `with-context` 2016-12-18 12:50:30 +01:00
Peter Taoussanis d8d667aea4 [#206] Resolve `slf4j-timbre` issue with `may-log?` and namespace filtering 2016-12-18 12:50:30 +01:00
Peter Taoussanis 0ced7021aa [#202] 9e85cb4 PR housekeeping 2016-12-18 12:50:29 +01:00
Matt Grimm 521846c930 [#202] Add :append param to spit-appender to allow clobber behavior (@tkocmathla) 2016-12-18 12:50:29 +01:00
Peter Taoussanis 799e060826 README: remove mention of (deprecated) `log-env` 2016-12-18 12:50:29 +01:00
Peter Taoussanis 5d3a9c8f1b [#198] PR housekeeping 2016-12-18 12:50:29 +01:00
Peter Taoussanis ea2267e593 [#198] Adjust filename 2016-10-21 13:17:38 +07:00
Isaac Zeng b970bd8ebc [#198] Add 3rd-party kafka appender (@gfZeng) 2016-10-21 13:09:01 +07:00
Tyler van Hensbergen e9c5dc0479 [#195] Logstash appender: add `:flush?` option (@tvanhens)
Setting the value to true will eagerly flush the tcp writer. Default
behavior is for this to be false.
2016-09-16 10:38:36 +07:00
Daniel Compton ef8592f27d [#191] Add clj only note to :timestamp-opts in README (@danielcompton) 2016-08-31 10:37:54 +07:00
Dan Sapala 242b262f0d [#192] Rolling appender: create dirs when they don't exist (@dsapala) 2016-08-31 10:34:51 +07:00
Peter Taoussanis d8cb02e61f v4.7.4 2016-08-23 09:46:50 +07:00
Peter Taoussanis c9c525137b Bump deps 2016-08-23 09:46:50 +07:00
Peter Taoussanis 587b3e015f [#188] Hotfix: regression re: interleaving println 2016-08-23 09:46:50 +07:00
Peter Taoussanis 97df46c6b3 v4.7.3 (syncing deps) 2016-07-24 18:04:00 +07:00
robingl 757c6f6b1f [#185] Fix 3rd-party logstash appender deps issue (@robingl)
Gelfclient uses an older version of JacksonXML which prevents the
logstash appender from loading.
2016-07-23 13:14:13 +07:00
Peter Taoussanis 2822efe513 Cljs console appender: allow late .-log binding 2016-07-23 11:56:35 +07:00
Peter Taoussanis b1592fb002 v4.7.0 2016-07-19 11:51:04 +07:00
Peter Taoussanis bf619cbe6e [#183] Add support for appender-level middleware
Motivating use case: let users apply custom ns-filtering or other
conditional logic at an appender level *without* needing to actually
modify the appender fn.

This is just a natural generalization of the recently added support
for appender-level ns filters, etc.
2016-07-19 11:39:05 +07:00
Peter Taoussanis 7894ea3d19 Revert "[#181] Temp demonstration for @nvseenu"
This reverts commit d99fd909a3.
2016-07-12 21:12:11 +07:00
Peter Taoussanis d99fd909a3 [#181] Temp demonstration for @nvseenu 2016-07-12 21:10:46 +07:00
Peter Taoussanis 7bcfb1818e v4.6.0 2016-07-12 11:26:26 +07:00