On Mon, 21 Apr 2008 15:34:51 -0700, "Sachin Naik"
<[EMAIL PROTECTED]> said:
> This is the one I've edited:
> <opennms src>/opennms-webapp/src/main/webapp/WEB-INF/log4j.properties
> 
> And I see that it's deployed to:
> <tomcat home>/wtpwebapps/opennms-webapp/WEB-INF/log4j.properties
> 
> Does it need to be in ../WEB-INF/classes instead?

web.xml has this on lines 28-31 (see
http://opennms.svn.sourceforge.net/viewvc/opennms/opennms/trunk/opennms-webapp/src/main/webapp/WEB-INF/web.xml?view=markup):

<context-param>
  <param-name>log4jConfigLocation</param-name>
  <param-value>/WEB-INF/log4j.properties</param-value>
</context-param>

So, it's in the right place, it seems.  Does the log4j.properties file
in <tomcat home>/wtpwebapps/opennms-webapp/WEB-INF/log4j.properties look
right?   Are seeing logs go to the right place
($OPENNMS_HOME/logs/webapp should be the place and *not* the console)?

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to