Commit Graph

466 Commits

Author SHA1 Message Date
Peter Taoussanis 71218f7086 Allow no-message throwable logging, use `str` for ex-data printing 2013-06-07 20:45:33 +07:00
Peter Taoussanis 5d4e5f2739 Fix ex-data separator 2013-06-07 20:22:00 +07:00
Peter Taoussanis 092f3b7925 Bump version (2.1.0) 2013-06-07 20:16:15 +07:00
Peter Taoussanis eaa4495e49 Add `ex-data` output to `stacktrace` fn 2013-06-07 20:15:07 +07:00
Emlyn Corrin 9741aaa92d Improve README 2013-06-06 12:40:50 +01:00
Emlyn Corrin f802ede826 Simplify README 2013-06-05 18:24:28 +01:00
Emlyn Corrin 7cfae88eb3 Add more default keys, allow setting write-concern 2013-06-05 18:19:18 +01:00
Emlyn Corrin e7bf5015e9 Make threads daemons to not block shutdown, add stacktrace, default to localhost only but allow :all 2013-06-05 16:45:59 +01:00
Emlyn Corrin e5852a6676 Cleanup 2013-06-05 14:28:18 +01:00
Peter Taoussanis f1d2d89713 Bump version (2.0.1) 2013-06-05 20:16:52 +07:00
Peter Taoussanis 912dfb46d0 Fix: `log*` return value should be `nil`, not `true` 2013-06-05 20:16:29 +07:00
Emlyn Corrin 0613ae66bb Cleanup 2013-06-05 14:03:04 +01:00
Emlyn Corrin 6dac0ec03e Add socket appender 2013-06-05 13:52:23 +01:00
Emlyn Corrin fff4a85b5d Add MongoDB appender 2013-06-05 13:06:11 +01:00
Peter Taoussanis 1039912094 README typo 2013-06-01 20:08:45 +07:00
Peter Taoussanis 3a94e550c7 Refresh README 2013-06-01 19:44:32 +07:00
Peter Taoussanis 2c6939a327 project.clj housekeeping, add Codox as plugin 2013-06-01 19:36:31 +07:00
Peter Taoussanis f0d71af005 Merge branch 'dev' 2013-06-01 19:35:13 +07:00
Peter Taoussanis 43434921a3 Bump version (2.0.0) 2013-06-01 19:31:51 +07:00
Peter Taoussanis e59918b59f Bump version (2.0.0-SNAPSHOT) 2013-06-01 19:31:21 +07:00
Peter Taoussanis 0dea5a430b BREAKING: Bump minimum Clojure version (1.4) 2013-06-01 19:31:21 +07:00
Peter Taoussanis 7b09d1a562 BREAKING: Refactor Timbre for integration with clojure.tools.logging & logf macros
BREAKING CHANGES:
* Custom appenders that rely on the :more argument will no longer function correctly.
* Stacktraces are no longer automatically generated at the `log`-macro level, but are
left as an appender implementation detail. A :throwable appender argument has been added
along with a `stacktrace` fn.

MIGRATION GUIDE:
* :message is now a string of all arguments as joined by `logp`/`logf`. Appenders that
need unjoined logging arguments (i.e. raw arguments as given to `logp`/`logf`) should
use the new :log-args vector.

MOTIVATION:
The :more argument was always kind of manky.

By joining logging arguments at the `log`-macro level, we simplify appender
implementations and allow the use of different joining strategies like `logp` and
`logf`.

This approach also fits better with the `tools.logging` API, allowing a cleaner
Logger implementation.
2013-06-01 19:29:57 +07:00
Peter Taoussanis 6fc6baee37 Rename appender argument: :max-message-per-msecs -> :limit-per-msecs (backwards compatible) 2013-06-01 19:29:57 +07:00
Peter Taoussanis c30ae5fbcc Housekeeping 2013-06-01 19:29:57 +07:00
Peter Taoussanis 7c29ce6852 Clean up appender documentation 2013-06-01 19:29:57 +07:00
Peter Taoussanis cef5440d50 Bump Clojure 1.5 test dependency (1.5.1) 2013-06-01 19:29:57 +07:00
Peter Taoussanis 547ef11d59 Update .gitignore 2013-06-01 19:29:56 +07:00
Peter Taoussanis 6c0ac295f4 Bump version (1.6.0) 2013-04-22 22:24:45 +07:00
Peter Taoussanis 84631ad0ae Merge pull request #13 from emlyn/master
Add per-appender prefix functions (thanks Emlyn)
2013-04-22 08:22:04 -07:00
Emlyn Corrin 0d1dfe6259 Remove extra newline for nicer diff 2013-04-20 08:55:05 +01:00
Emlyn Corrin 3302d17af6 Per-appender prefix-fns 2013-04-19 18:01:55 +01:00
Peter Taoussanis 8e53e4970f Merge pull request #11 from emlyn/master
Add IRC Appender (thanks to emlyn)
2013-04-19 07:37:28 -07:00
Emlyn Corrin 3eee832a63 Replace deleted space for nicer diff 2013-04-19 14:33:55 +01:00
Emlyn Corrin 48f8329dbb Add IRC appender 2013-04-19 14:28:02 +01:00
Peter Taoussanis cf0f41dd7d Merge branch 'dev' 2013-04-14 16:31:01 +07:00
Peter Taoussanis fdacde069a Bump version (1.5.3) 2013-04-14 16:30:55 +07:00
Peter Taoussanis 0dc4951db7 Fix EvalReader exception when *read-eval* is false (thanks ummels) 2013-04-14 16:30:19 +07:00
Peter Taoussanis 7935493a22 Remove unnecessary `set-config!` destructuring 2013-03-17 14:40:32 +07:00
Peter Taoussanis 03d2c0c242 nil logging level should be < :trace logging level 2013-03-16 14:30:05 +07:00
Peter Taoussanis 5864673b47 Housekeeping 2013-03-16 14:30:05 +07:00
Peter Taoussanis 0513eb80de Merge branch 'dev' 2013-02-11 11:48:04 +07:00
Peter Taoussanis 114e35d93c Bump version (1.5.2) 2013-02-11 11:47:59 +07:00
Peter Taoussanis 17043d20b7 Catch UnknownHostException 2013-02-11 11:47:24 +07:00
Peter Taoussanis b3b109b08a Merge branch 'dev' 2013-02-08 14:22:18 +07:00
Peter Taoussanis 766a3d61b0 Bump version (1.5.1) 2013-02-08 14:22:08 +07:00
Peter Taoussanis 27388879a4 Fix: remove `mapv` use in frequencies.clj (requires Clojure 1.4+) 2013-02-08 14:21:22 +07:00
Peter Taoussanis ff5ce760cf Housekeeping 2013-02-07 20:27:17 +07:00
Peter Taoussanis b0738b73b4 Merge branch 'dev' 2013-02-07 18:52:11 +07:00
Peter Taoussanis ba172dfc21 Bump version (1.5.0) 2013-02-07 18:51:28 +07:00
Peter Taoussanis c7d59a570b Add experimental logging frequency counter (`utils/frequencies.clj`) 2013-02-07 18:11:46 +07:00