Re: log4j struts

2005-02-17 Thread Jan-Jaap Endenburg - Vera
Hi! Can you give me an example of specifying log4j as init-param. within struts-config.xml? Thanks, Jan-Jaap Ye, Young wrote: yes, you can. -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED] Sent: 2005/02/16 4:48 PM To: Struts Users Mailing List Subject: log4j struts I want

Re: log4j struts

2005-02-16 Thread Frank W. Zammetti
Cool! That warning has always bugged me a bit, but not enough to spend any time thinking about the cause and solution. Thanks for the heads-up Craig! Frank Craig McClanahan wrote: If you do this in a ServletContextListener's contextInitialized() method you won't get the warnings, because this

Re: log4j struts

2005-02-16 Thread Craig McClanahan
If you do this in a ServletContextListener's contextInitialized() method you won't get the warnings, because this fires before ActionServlet starts up. Craig On Wed, 16 Feb 2005 17:27:14 -0500, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You can configure Log4J from a Struts plugin, although

Re: log4j struts

2005-02-16 Thread Frank W. Zammetti
You can configure Log4J from a Struts plugin, although you will get a configuration warning when Struts starts up before the plugin fires. Here's some init code I've used (roughly... I don't actually use init parameters and I construct a real path from a virtual path, and I do some other hacker

RE: log4j struts

2005-02-16 Thread Ye, Young
yes, you can. -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED] Sent: 2005/02/16 4:48 PM To: Struts Users Mailing List Subject: log4j struts I want to use log4j with my struts app. Can I use the struts-config.xml to specify log4j as an init parameter and point it to its