tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Egger <be...@wolfgang-egger.de>
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

http://www.jguru.com/faq/view.jsp?EID=1007096
# log4j can direct its output to a file, the console, an
java.io.OutputStream, java.io.Writer, 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.



http://logging.apache.org/log4j/docs/manual.html


    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
|log4j.properties| 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

   Wolfgang


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message