On 2/3/07 11:18 PM, "Mark Menard" <[EMAIL PROTECTED]> wrote:

> I've created a project based off of the Struts 2 archetype, and am using the
> configuration for Jetty. Problem is this thing spews 10s of thousands of
> lines of log messages in its default config. It seems that every trip
> through the value stack and ognl is being logged. (I have a screen display a
> list of items that results in over 10,000 lines of spew for about 100
> items.)
> 
> I have looked at the Maven Jetty plugin configuration page where log4j is
> covered. I've tried configuring it to no effect. If someone has pointers on
> configuring the logging I'd really appreciate it, and I'll come up with a
> reasonable setup and send a patch in for the archetype.

OK, you can pretty much ignore me. I had a configuration error that was
causing my log4j.properties file to not be read. So, that hurdle passed. The
log4j config from the archetype seems to be logging freemarker at DEBUG by
default. This results in a lot of debug logging. For my particular
application thousands of lines. That level might want to be set higher, INFO
or ERROR. (Just my opinion.)

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to