logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: Log4j not working
Date Thu, 20 Oct 2005 19:35:15 GMT
Where is your log4j.properties?  It should probably be in
tomcat\webapps\axis\WEB-INF\lib

On 10/20/05, Damodar R Yemme <dyemme@indiana.edu> wrote:
> I have put it in tomcat\webapps\axis\WEB-INF\lib folder on server side
> and under \lib\ on client side for ant commands.
> I am getting error/warning on both sides.
>
> James Stauffer wrote:
>
> >Which lib folder?  It might helpful to give the full path to log4j.jar
> >and log4j.properties.
> >
> >BTW the debug output seems to show that it isn't finding another
> >log4j.properties or log4j.xml so I don't think you need to worry about
> >that.
> >
> >On 10/20/05, dyemme <dyemme@indiana.edu> wrote:
> >
> >
> >>I have placed it in lib folder
> >>
> >>On Thu, 2005-10-20 at 13:53 -0500, James Stauffer wrote:
> >>
> >>
> >>>Where is your log4j.jar?
> >>>
> >>>On 10/20/05, Rakesh Patel <Rakesh.Patel@sharepeople.com> wrote:
> >>>
> >>>
> >>>>Added debug to the App server and here's what it found:
> >>>>
> >>>>log4j: Trying to find [log4j.xml] using
> >>>>ClassLoader.getSystemResource().|#]
> >>>>
> >>>>[#|2005-10-20T18:02:59.937+0100|INFO|sun-appserver-pe8.1_01|javax.enterp
> >>>>rise.system.stream.out|_ThreadID=12;|
> >>>>log4j: Trying to find [log4j.properties] using context classloader
> >>>>WebappClassLoader
> >>>>  delegate: true
> >>>>  repositories:
> >>>>    /WEB-INF/classes/
> >>>>----------> Parent Classloader:
> >>>>EJBClassLoader :
> >>>>urlSet = []
> >>>>doneCalled = false
> >>>> Parent -> java.net.URLClassLoader@6397eb
> >>>>
> >>>>.|#]
> >>>>
> >>>>[#|2005-10-20T18:02:59.937+0100|INFO|sun-appserver-pe8.1_01|javax.enterp
> >>>>rise.system.stream.out|_ThreadID=12;|
> >>>>log4j: Using URL
> >>>>[jar:file:/C:/Sun/AppServer/domains/domain1/lib/jaxr-ebxml.jar!/log4j.pr
> >>>>operties] for automatic log4j configuration.|#]
> >>>>
> >>>>[#|2005-10-20T18:02:59.968+0100|INFO|sun-appserver-pe8.1_01|javax.enterp
> >>>>rise.system.stream.out|_ThreadID=12;|
> >>>>log4j: Reading configuration from URL
> >>>>jar:file:/C:/Sun/AppServer/domains/domain1/lib/jaxr-ebxml.jar!/log4j.pro
> >>>>perties|#]
> >>>>
> >>>>So why does it not find the log4j.properties file in /WEB-INF/classes/??
> >>>>
> >>>>
> >>>--
> >>>James Stauffer
> >>>Are you good? Take the test at http://www.livingwaters.com/good/
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> >>>For additional commands, e-mail: log4j-user-help@logging.apache.org
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> >>For additional commands, e-mail: log4j-user-help@logging.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >--
> >James Stauffer
> >Are you good? Take the test at http://www.livingwaters.com/good/
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> >For additional commands, e-mail: log4j-user-help@logging.apache.org
> >
> >
> >
>
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message