Piggy-backing off Mark's answer, if it is log4j that's being used, you can 
also use log4j.properties to set different logging levels for your Java 
code vs. your Clojure code (assuming the code are in different packages):

http://stackoverflow.com/questions/3569395/filtering-out-log4j-messages-from-third-party-frameworks

On Wednesday, February 8, 2012 11:40:45 AM UTC-8, Mark Rathwell wrote:
>
> It's logging, and assuming the logging implementation it is using
> log4j, you can specify the logging properties in a properties file, as
> system properties, or set the properties in code.  The easiest way is
> to place a file called log4j.properties on the classpath (in the
> resources directory of your project) containing the following:
>
> # set root logger level to OFF (OFF, FATAL, ERROR, WARN, INFO, DEBUG,
> TRACE, ALL)
> log4j.rootLogger=OFF
>
>
> On Wed, Feb 8, 2012 at 1:49 PM, Simone Mosciatti <mweb....@gmail.com> 
> wrote:
> > Hi guys,
> >
> > I have developed a very very little application in clojure that use an
> > external lib in java that i prefer do not touch.
> >
> > The problem is that this lib for some weird reason (debug i guess)
> > print at video a bunch of information useless for me, there is any way
> > to avoid this problem, i mean can i just print what the clojure code
> > actually print and not what also the lib in java print ?
> >
> > I'm sorry for my English...
> >
> > --
> > 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 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

Reply via email to