Is there a way to determine which logging properties need to be
configured to remove / change all of the struts logging?
I haven't seen a confluence page on that topic yet.
i.e., if I wanted to set the whole logging level for all of struts2 to
ERROR, how would I find the property names to set?
Thanks,
John
Miguel wrote:
Hi!,
if you want to silence those annoing messages try the following logger:
log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack
if you were using a properties file
log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=NONE, stdout
with the xml should be something similar.
Have a good day
Si quieres ser más positivo, pierde un electrón
Miguel Ruiz Velasco S.
On Thu, Oct 2, 2008 at 17:19, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote:
I saw another thread about this already, and the suggestions were to turn
off dev mode (I'm not running devmode), or to filter them out in my logging
mechanism.
I have log4j.xml in my .war file, and I use it to control logging in all my
classes, but I can't find the right magical incantation to turn this one
off. Currently I'm using:
<category name="com.opensymphony.xwork2.util.logging.commons.CommonsLogger">
<priority value="ERROR"/>
</category>
but that is doing nothing (i've tried various incantaions on the name line,
none have any effect).
Help please?
--
-------------------.--------.-------------------------------.
Dave Belfer-Shevett \ KB1FWR \ JID: [EMAIL PROTECTED] \
blog:planet-geek.com >--------'-----------------------------------.
[EMAIL PROTECTED] / 25)You can't spit out the car window without \
-------------------< pulling over to the side of the road and |
| stopping. (from "You might be a yankee |
| if...") |
\______________________________________________/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]