right now when i do from my servlets
System.out.println(...)
it goes to /logs/catalina.out
file. i've got several webapps and all of them send to
the same file.
is there a way to direct to a separate file
(i.e. each webapp to a separate file).
thx
Arne Vajhøj - 07 Oct 2006 22:59 GMT
> right now when i do from my servlets
>
[quoted text clipped - 7 lines]
> is there a way to direct to a separate file
> (i.e. each webapp to a separate file).
System.out.println is very bad from a performance perspective.
Switch to log4j.
As a bonus log4j will also allow you to separate output.
Arne
Filip Larsen - 07 Oct 2006 23:18 GMT
> is there a way to direct to a separate file
> (i.e. each webapp to a separate file).
One way is to place a logging.properties file in each webapp, see
http://tomcat.apache.org/tomcat-5.5-doc/logging.html for details.
Regards,

Signature
Filip Larsen