If you enabled Log4j console logger, the logs should appear in the REPL too.
See example at http://www.mkyong.com/logging/log4j-log4j-properties-examples/ You do not necessarily need log4j to log to the REPL via clojure.tools.logging - you can just use c.t.l. without any logging library and it will fall back to java.util.logging using STDOUT. Shantanu On Wednesday, 16 December 2015 21:58:40 UTC+5:30, Mayank Jain wrote: > > Hi, > > I would like to be able to print log statements via clojure.tools.logging > to print on clojure repl as well. > I am using log4j logging framework for configurations. > Is this possible? I am unable to figure it out. > I am open to any other logging framework if that solves this. > > Thanks. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.