Shiby -

Could you show us the code where your code creates your Logger and set your 
Formatter and Handler, then give us an example where your code
actually uses the Logger to log a message?


---Mark


Shiby Maria John wrote:
Ok thanks

.
.
.

Sorry Shiby,

I've got no idea about the java logger as such. But had it been Log4j,

I'd have checked my log4j.properties for the configured appender.

Santosh.

Shiby Maria John wrote:
No, java logger. (java.util.logging package)
.
.
.
Hi,

What Logger are you using within the application. Is it Log4j?

Santosh.

Shiby Maria John wrote:

Thanks for the immediate reply..
But I tried that .. it is loggin only Tomcat server specific

messages

and not the application messages.

This is what I gave in my server.xml file

<Logger classname="org.apache.catalina.logger.FileLogger"
path="D:\applog.log" verbosity="INFORMATION" />

But only the INFO: messages from the server is coming in the file.
.
.
.



From: Shiby Maria John [mailto:[EMAIL PROTECTED]
Subject: Logging application messages to a file instead of to
the console

I have an application deployed in Tomcat 5.0 in Linux OS.

I want my application messages as well as the JVM logs to log into

a

file instead of into the console.


Perhaps you should read the doc:
http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html

 - Chuck

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to