I hate to do it, considering all the work involved and the fact that I'll
have to ensure that it gets included in every installation of Tomcat from
here on out (until we get to 5.5) but I have little choice.  I can't believe
the option is not already a part of the FileLogger class.


-Mark


-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 23, 2004 11:16 AM
To: Tomcat Users List
Subject: Re: Logger without timestamp not working


Yup. But is it really worth it? Logger is gone in 5.5 in place of 
commons-logging.

-Tim

Faine, Mark wrote:

> So how would you suggest one get a log file without a timestamp 
> appended to it?  Extend FileLogger?
> 
> -Mark
> 
> -----Original Message-----
> From: Tim Funk [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 23, 2004 10:48 AM
> To: Tomcat Users List
> Subject: Re: Logger without timestamp not working
> 
> 
> The timestamp attribute is a flag as to show or hide the timestamp 
> when a
> message is logged in the file. It has nothing to do with the file name.
> 
> -Tim
> 
> Goel, Manish Kumar wrote:
> 
> 
>>Tim Funk,
>>
>>I tried it in  5.0.19 version it didn't work for me also
>>but document says it must work and the default value of timestamp is 
>>false
> 
> and my other problem
> 
>>with logger I have already posted it &  didn't hear from any one abt. 
>>it
>>
>>
>>problem for creating the separate log file by <Logger  .....  />for my 
>>application context in tomcat-5.0.19.  that is working fine in tomcat 
>>5.0.27!!!!!
>> 
>> please help me what the settings are to be needed to make it out on 
>> tomcat 5.0.19 . is this bug ???? or AM I missing some thing
>> 
>> sample of my context file which is under
>> 
>> ..conf\Catalina\localhost\
>> 
>> 
>> <Context displayName="SMART" debug="0" docBase="Smart" path="/Smart">
>> 
>>      <Logger className="org.apache.catalina.logger.FileLogger"
>>                  directory="webapps/smartlogs"  prefix="Smart_log." 
>>suffix=".txt"
>>            timestamp="true"/>
>>      .....................
>>      ..................
>> 
>>      <Context/>
>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to