"Michael A. Brooke" wrote:

> Hi,
>
> I have managed to use the BasicConfigurator and see my debug messages.
> I am trying to change to the PropertyConfigurator and use the config
> file but I am unable to read the file I set up.

see post on absolute paths

> Where should I put it?

this is actually a good question

> I also have been reading some links between log4j and tomcat.  Is there
> a complete example or write up of how these two work together.  My
> application is written using tomcat and mysql, any help and suggestions
> would be very much appreciated.

i believe that the link is that log4j is being used internally by tomcat
for logging (maybe somebody who knows more would like to jump in here)
rather than directly supporting logging and debugging webapps being run by
tomcat (at the moment).

IMHO using log4j to debug webapps is a good idea, but does require
tweaks/extensions to log4j and also raises general webapp design issues. i
don't know if there is a general consensus about 'the way to do it' (maybe
somebody how know more would like to jump in here)...

maybe have a look in the archives since there have been quite a few
similar posts on this subject.

- robert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to