Re: Re: Re: java logging properties and lein

2011-11-15 Thread labwork07
Okay, thanks. I think the library I interface with is using java.util.logging. I might need to reset the logging configuration. I recall something like that in the past like LogManager.reset(); On , Mark Rathwell wrote: > You still need to load the properties and tell the logger to use them

Re: Re: Re: java logging properties and lein

2011-11-15 Thread labwork07
Okay, thanks. I think the library I interface with is using java.util.logging. I might need to reset the logging configuration. I recall something like that in the past like LogManager.reset(); On , Mark Rathwell wrote: > You still need to load the properties and tell the logger to use them

Re: Re: java logging properties and lein

2011-11-14 Thread Mark Rathwell
> You still need to load the properties and tell the logger to use them. >  Assuming it is using log4j, something like the following should do > that (completely untested though): > > ... >  (:require [clojure.java.io :as io]) > ... > (with-open [s (io/input-stream (io/resource "logging.properties"

Re: Re: java logging properties and lein

2011-11-14 Thread Mark Rathwell
> I put a logging.properties file in the resources directory of the project > but it does not seem to pick it up. Do I have to do something else to > override the default logging from the java library I am using? You still need to load the properties and tell the logger to use them. Assuming it i

Re: Re: java logging properties and lein

2011-11-14 Thread labwork07
I put a logging.properties file in the resources directory of the project but it does not seem to pick it up. Do I have to do something else to override the default logging from the java library I am using? On , Phil Hagelberg wrote: On Mon, Nov 14, 2011 at 9:22 AM, joegallo joega...@gmail.

Re: java logging properties and lein

2011-11-14 Thread Phil Hagelberg
On Mon, Nov 14, 2011 at 9:22 AM, joegallo wrote: > You could drop it into the root of src, or you can add a :resources-path > "etc" in your project.clj and then put it in the root of that.  Some purists > would probably argue that the latter is better, but the former should work > just fine, too.

Re: java logging properties and lein

2011-11-14 Thread joegallo
You could drop it into the root of src, or you can add a :resources-path "etc" in your project.clj and then put it in the root of that. Some purists would probably argue that the latter is better, but the former should work just fine, too. -- You received this message because you are subscrib

java logging properties and lein

2011-11-14 Thread labwork07
I'm interfacing with a java library. I'm getting logging info messages. Where do I put the logging.properties file in a lein project? -- 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

java logging properties and lein

2011-11-14 Thread labwork07
I'm interfacing with a java library. I'm getting logging info messages. Where do I put the logging.properties file in a lein project? -- 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