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?

Sachin

DJ Gregor wrote:
> Which log4j.properties file did you edit?  There are a few around.  Make
> sure you edit the one that is referenced in web.xml.  The more I think
> about it, it might not be there with the way that WTP builds the webapp.
>  You might need to copy it into the right place and edit it.
>
>
>         - djg
>
> On Mon, 21 Apr 2008 15:09:10 -0700, "Sachin Naik"
> <[EMAIL PROTECTED]> said:
>   
>> Thanks for the replies. 
>>
>> Jeff, yes I did get the source to bootstrap Jetty within Eclipse.  I got 
>> some compile errors and didn't spend too much time trying to resolve 
>> them (I need to do a quick demo).  Maybe I will look into this again. 
>>
>> DJ, that's right - I'm working on the webapp and running Tomcat within 
>> Eclipse.  When I edit the log4j.properties (changed all instances 
>> 'DEBUG' to 'INFO'), it doesn't seem to stop the debug logging though.  
>> What changes did you make to stop the verbose logging?
>>
>> Thanks,
>> Sachin
>>
>> DJ Gregor wrote:
>>     
>>> Yeah, I've used that, too, but I still prefer the Tomcat solution within
>>> WTP, even with all of its warts.  Sadly, I haven't fired up WTP for
>>> weeks. :-(
>>>
>>>
>>>         - djg
>>>
>>> On Mon, 21 Apr 2008 17:31:07 -0400, "Jeff Gehlbach" <[EMAIL PROTECTED]>
>>> said:
>>>   
>>>       
>>>> On Apr 21, 2008, at 5:20 PM, DJ Gregor wrote:
>>>>     
>>>>         
>>>>> He's running Tomcat *within Eclipse*, probably doing webapp  
>>>>> development.
>>>>>       
>>>>>           
>>>> Yeah, I saw the update after I'd already sent my reply :)
>>>>
>>>> Johan has a way to bootstrap the embedded JettyServer inside Eclipse.   
>>>> I thought he had shared this with Sachin via IRC last week, but I  
>>>> could be wrong.
>>>>
>>>> -jeff
>>>>
>>>> -------------------------------------------------------------------------
>>>> 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
>>>>     
>>>>         
>>> -------------------------------------------------------------------------
>>> 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
>>>   
>>>       
>> -------------------------------------------------------------------------
>> 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
>>     
>
> -------------------------------------------------------------------------
> 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
>   


-------------------------------------------------------------------------
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