Wolfgang Egger wrote:
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
Thank you very much .
I will report back to community as soon as i could get a live feed from
the Application server , log files
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]