tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Egger <>
Subject Re: is there any log file viewer for tomcat log files with live feed ability
Date Sun, 01 Jan 2006 11:57:38 GMT
Servus Legolas,

Legolas Woodland schrieb:

> could you please tell me more ?
> how i can configure log4j  , which client i should use ?

Sorry, the last time i used log4j, was 3 years ago, so I don't remember
the details. But you may have a look at google and the urls above
# log4j can direct its output to a file, the console, an,, a remote server using TCP, a
remote Unix Syslog daemon, to a remote listener using JMS, to the NT
EventLog or even send e-mail.

    Example Configurations

    Default Initialization under Tomcat

The default log4j initialization is particularly useful in web-server
environments. Under Tomcat 3.x and 4.x, you should place the
|| under the |WEB-INF/classes| directory of your
web-applications. Log4j will find the properties file and initialize
itself. This is easy to do and it works.

You can also choose to set the system property *log4j.configuration*
before starting Tomcat. For Tomcat 3.x The |TOMCAT_OPTS| environment
variable is used to set command line options. For Tomcat 4.0, set the
|CATALINA_OPTS| environment variable instead of |TOMCAT_OPTS|.

Have a nice day


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message