Re: Logging application messages to a file instead of to the console

2006-09-22 Thread Mark Barnes

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



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]



Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Shiby Maria John
Ok thanks


  
 Santosh  
 Puranshettiwar   
 <[EMAIL PROTECTED]   To 
 .com>   Tomcat Users List
 
 09/21/2006cc 
 11:17 AM 
  Subject 
 Re: Logging application messages 
 Please respond  to a file instead of to the  
   toconsole  
  "Tomcat Users   
  List"   
 <[EMAIL PROTECTED]  
   pache.org> 
  
  




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)
>
>
>

>  Santosh

>  Puranshettiwar

>  <[EMAIL PROTECTED]
To
>  .com>   Tomcat Users List

>  

>  09/21/2006
cc
>  11:06 AM

>
Subject
>  Re: Logging application
messages
>  Please respond  to a file instead of to the

>toconsole

>   "Tomcat Users

>   List"

>  <[EMAIL PROTECTED]

>pache.org>

>

>

>
>
>
>
> 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
>>
>> > path="D:\applog.log" verbosity="INFORMATION" />
>>
>> But only the INFO: messages from the server is coming in the file.
>>
>> Regards,
>> Shiby
>>
>>
>>
>>
>
>
>>  "Caldarale,
>>
>
>
>>  Charles R"
>>
>
>
>>  >
> To
>
>>  [EMAIL PROTECTED]>   "Tomcat Users List"
>>
>
>
>>  
>>
>
>
>>  09/21/2006
>>
> cc
>
>>  10:46 AM
>>
>
>
> Subject
>
>>  RE: Logging application
>>
> messages
>
>>  Please respond  to a file instead of to the
>>
>
>
>>toconsole
>>
>
>
>>   "Tomcat Users
>>
>
>
>>   List"
>>
>
>
>>  <[EMAIL PROTECTED]
>>
>
>
>>pache.org>
>>
>
>
>
>
>
>
>>
>>
>>
>>
>>> 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
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
>> PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the
>> e-mail
>> and its attachments from all computers.
>>
>>
>>
>
-
>
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>>
>>
>
-
>
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>
>
-
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
>
-
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--

Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Santosh Puranshettiwar

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)


  
 Santosh  
 Puranshettiwar   
 <[EMAIL PROTECTED]   To 
 .com>   Tomcat Users List
 
 09/21/2006cc 
 11:06 AM 
  Subject 
 Re: Logging application messages 
 Please respond  to a file instead of to the  
   toconsole  
  "Tomcat Users   
  List"   
 <[EMAIL PROTECTED]  
   pache.org> 
  
  





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



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

Regards,
Shiby






  

 "Caldarale,



  

 Charles R"



  

 

To
  

 [EMAIL PROTECTED]>   "Tomcat Users List"



  

 



  

 09/21/2006


cc
  

 10:46 AM



  
Subject
  

 RE: Logging application


messages
  

 Please respond  to a file instead of to the



  

   toconsole



  

  "Tomcat Users



  

  List"



  

 <[EMAIL PROTECTED]



  

   pache.org>



  

  

  






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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the
e-mail
and its attachments from all computers.




-
  

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









-
  

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







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






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


  



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



Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Shiby Maria John
No, java logger. (java.util.logging package)


  
 Santosh  
 Puranshettiwar   
 <[EMAIL PROTECTED]   To 
 .com>   Tomcat Users List
 
 09/21/2006cc 
 11:06 AM 
  Subject 
 Re: Logging application messages 
 Please respond  to a file instead of to the  
   toconsole  
  "Tomcat Users   
  List"   
 <[EMAIL PROTECTED]  
   pache.org> 
  
  




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
>
>  path="D:\applog.log" verbosity="INFORMATION" />
>
> But only the INFO: messages from the server is coming in the file.
>
> Regards,
> Shiby
>
>
>

>  "Caldarale,

>  Charles R"

>[EMAIL PROTECTED]>   "Tomcat Users List"

>  

>  09/21/2006
cc
>  10:46 AM

>
Subject
>  RE: Logging application
messages
>  Please respond  to a file instead of to the

>toconsole

>   "Tomcat Users

>   List"

>  <[EMAIL PROTECTED]

>pache.org>

>

>

>
>
>
>
>
>> 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
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
> PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the
> e-mail
> and its attachments from all computers.
>
>
-
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
>
-
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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






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



Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Santosh Puranshettiwar

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



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

Regards,
Shiby


  
 "Caldarale,  
 Charles R"   
  [EMAIL PROTECTED]>   "Tomcat Users List"  
 
 09/21/2006cc 
 10:46 AM 
  Subject 
 RE: Logging application messages 
 Please respond  to a file instead of to the  
   toconsole  
  "Tomcat Users   
  List"   
 <[EMAIL PROTECTED]  
   pache.org> 
  
  





  

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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the
e-mail
and its attachments from all computers.

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






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


  



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



RE: Logging application messages to a file instead of to the console

2006-09-20 Thread Shiby Maria John
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



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

Regards,
Shiby


  
 "Caldarale,  
 Charles R"   
"Tomcat Users List"  
 
 09/21/2006cc 
 10:46 AM 
  Subject 
 RE: Logging application messages 
 Please respond  to a file instead of to the  
   toconsole  
  "Tomcat Users   
  List"   
 <[EMAIL PROTECTED]  
   pache.org> 
  
  




> 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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the
e-mail
and its attachments from all computers.

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






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



RE: Logging application messages to a file instead of to the console

2006-09-20 Thread Caldarale, Charles R
> 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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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