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
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
> 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"
> 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
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.
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.
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
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
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