You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tony Anecito <ad...@yahoo.com> on 2013/09/09 17:35:26 UTC
[users@httpd] Apache %D and %T meanings...
Hi All,
I am using the Apache Realtime Plugin (APR) that comes with ApacheTomcat 7.0.33. I am using Java 7.0.5 64-bit on Windows 7 64-bit.
I have noticed in the logs that the %D looks like it gives me milliseconds when compared to the %T seconds. For example:
%D %T
72 0.072
103 0.103
32 0.032
The Apache documention seems to indicate %D is microseconds not milliseconds.
Does anyone know what to expect?
Thanks,
-Tony
Re: [users@httpd] Apache %D and %T meanings...
Posted by Tony Anecito <ad...@yahoo.com>.
Thanks! I wanted to ake sure Apache APR had no influence over the logging.
Yes I will aske the Tomcat group about the resolution and if they plan to change it.
Best Regards,
-Tony
________________________________
From: Rainer Jung <ra...@kippdata.de>
To: users@httpd.apache.org
Sent: Monday, September 9, 2013 3:54 PM
Subject: Re: [users@httpd] Apache %D and %T meanings...
On 09.09.2013 20:50, Tony Anecito wrote:
> Many Thanks. I thought I was using the APR which is the native version
> of Apache so was thinking that produced the logs I was looking at. I
> will verify the valve is turned on for for APR. If it is should I see
> milliseconds for the %D?
APR does not influence the meaning of the pattern in the Tomcat access
log. If you are talking about a tomcat access log configured in
server.xml %D is always milliseconds.
For the Apache web server it is always microseconds.
If you need more advice on Tomcat, then I suggest you switch over to the
Tomcat users list.
Regards,
Rainer
> *From:* Rainer Jung <ra...@kippdata.de>
> *To:* users@httpd.apache.org
> *Sent:* Monday, September 9, 2013 9:40 AM
> *Subject:* Re: [users@httpd] Apache %D and %T meanings...
>
> On 09.09.2013 17:35, Tony Anecito wrote:
>> Hi All,
>>
>> I am using the Apache Realtime Plugin (APR) that comes with ApacheTomcat
>> 7.0.33. I am using Java 7.0.5 64-bit on Windows 7 64-bit.
>>
>> I have noticed in the logs that the %D looks like it gives me
>> milliseconds when compared to the %T seconds. For example:
>>
>> %D %T
>> 72 0.072
>> 103 0.103
>> 32 0.032
>>
>> The Apache documention seems to indicate %D is microseconds not
>> milliseconds.
>
> %T is seconds, %D in the Tomcat access logs is milliseconds, %D in the
> Apache web server access logs is microseconds.
>
> Regards,
>
> Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache %D and %T meanings...
Posted by Rainer Jung <ra...@kippdata.de>.
On 09.09.2013 20:50, Tony Anecito wrote:
> Many Thanks. I thought I was using the APR which is the native version
> of Apache so was thinking that produced the logs I was looking at. I
> will verify the valve is turned on for for APR. If it is should I see
> milliseconds for the %D?
APR does not influence the meaning of the pattern in the Tomcat access
log. If you are talking about a tomcat access log configured in
server.xml %D is always milliseconds.
For the Apache web server it is always microseconds.
If you need more advice on Tomcat, then I suggest you switch over to the
Tomcat users list.
Regards,
Rainer
> *From:* Rainer Jung <ra...@kippdata.de>
> *To:* users@httpd.apache.org
> *Sent:* Monday, September 9, 2013 9:40 AM
> *Subject:* Re: [users@httpd] Apache %D and %T meanings...
>
> On 09.09.2013 17:35, Tony Anecito wrote:
>> Hi All,
>>
>> I am using the Apache Realtime Plugin (APR) that comes with ApacheTomcat
>> 7.0.33. I am using Java 7.0.5 64-bit on Windows 7 64-bit.
>>
>> I have noticed in the logs that the %D looks like it gives me
>> milliseconds when compared to the %T seconds. For example:
>>
>> %D %T
>> 72 0.072
>> 103 0.103
>> 32 0.032
>>
>> The Apache documention seems to indicate %D is microseconds not
>> milliseconds.
>
> %T is seconds, %D in the Tomcat access logs is milliseconds, %D in the
> Apache web server access logs is microseconds.
>
> Regards,
>
> Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache %D and %T meanings...
Posted by Tony Anecito <ad...@yahoo.com>.
Many Thanks. I thought I was using the APR which is the native version of Apache so was thinking that produced the logs I was looking at. I will verify the valve is turned on for for APR. If it is should I see milliseconds for the %D?
Regards,
-Tony
________________________________
From: Rainer Jung <ra...@kippdata.de>
To: users@httpd.apache.org
Sent: Monday, September 9, 2013 9:40 AM
Subject: Re: [users@httpd] Apache %D and %T meanings...
On 09.09.2013 17:35, Tony Anecito wrote:
> Hi All,
>
> I am using the Apache Realtime Plugin (APR) that comes with ApacheTomcat
> 7.0.33. I am using Java 7.0.5 64-bit on Windows 7 64-bit.
>
> I have noticed in the logs that the %D looks like it gives me
> milliseconds when compared to the %T seconds. For example:
>
> %D %T
> 72 0.072
> 103 0.103
> 32 0.032
>
> The Apache documention seems to indicate %D is microseconds not
> milliseconds.
%T is seconds, %D in the Tomcat access logs is milliseconds, %D in the
Apache web server access logs is microseconds.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache %D and %T meanings...
Posted by Rainer Jung <ra...@kippdata.de>.
On 09.09.2013 17:35, Tony Anecito wrote:
> Hi All,
>
> I am using the Apache Realtime Plugin (APR) that comes with ApacheTomcat
> 7.0.33. I am using Java 7.0.5 64-bit on Windows 7 64-bit.
>
> I have noticed in the logs that the %D looks like it gives me
> milliseconds when compared to the %T seconds. For example:
>
> %D %T
> 72 0.072
> 103 0.103
> 32 0.032
>
> The Apache documention seems to indicate %D is microseconds not
> milliseconds.
%T is seconds, %D in the Tomcat access logs is milliseconds, %D in the
Apache web server access logs is microseconds.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org