This thread should help to control the messages without having to change
the priority value
http://stackoverflow.com/questions/4915414/disable-httpclient-logging
This topic should help with the overriding of the log4j.xml settings within
the jar by
allowing an application wide file to be defined on the command line.
http://logging.apache.org/log4j/1.2/manual.html#defaultInit
Roger
On Wednesday, April 9, 2014 6:40:17 PM UTC+1, [email protected] wrote:
>
> I'm getting started with jOOQ in a pre-existing Maven project. Since
> adding the jooq-codegen-maven-3.3.1.jar file as a dependency, I've been
> getting lots of debug statements from my project. Thousands and thousands
> of lines like this:
>
>
> 17:07:09,788 DEBUG [org.apache.http.wire ] -
> << "HTTP/1.1 200 OK[\r][\n]"
>
> 17:07:09,788 DEBUG [org.apache.http.wire ] -
> << "Date: Fri, 04 Apr 2014 23:07:04 GMT[\r][\n]"
>
> 17:07:09,788 DEBUG [org.apache.http.wire ] -
> << "Server: Jetty/5.1.x (Linux/3.11.0-17-generic amd64
> java/1.7.0_51[\r][\n]"
>
> 17:07:09,788 DEBUG [org.apache.http.wire ] -
> << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
>
>
> I tracked this down to a log4j.xml setting inside the jar. It had this
> line:
>
> <priority value="debug" />
>
> Once I changed it from "debug" to "error" and repackaged the jar, the
> spammy logging stopped. Was this setting intentional? Is there a better way
> to shut it off than to manually edit a third-party library file?
>
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" 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.