Sean Corfield has a great example of writing a log4j logging backend in clojure:
http://corfield.org/blog/post.cfm/real-world-clojure-logging On Tue, Jul 22, 2014 at 6:17 PM, Brian Craft <[email protected]> wrote: > Is there any good way to use timbre in a project with java libs, e.g. > c3p0, that use java logging APIs? Java logging is such a hopeless muddle I > don't pretend to understand it, but my impression is that libs like c3p0 > use assorted backends (log4j, etc.), which in turn use assorted "appenders" > to write to files, dbs, etc. clojure.tools.logging uses the same backends > (log4j, etc.), to the same purpose. Timbre, however, just implements > appenders, so it can't forward to log4j, and log4j can't forward to timbre. > Timbre can operate as a backend for clojure.tools.logging, but that only > helps with clojure libs. > > Is any of this correct? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
