[squid-users] google drive up-/download size in squidlog

Paul Buechler buechlerml at hdpnet.de
Thu Jun 2 09:01:40 UTC 2016


Hi,

@Yuri Voinov:

I've only tested it with the webclient.

@Amos Jeffries:

I've tested it with %st and the downloadsize is fine for me now, thanks.

Are there any plans to implement a format code to see the uploadsize?
It would be nice to have this feature.

best regards,

Paul

Am 24.05.2016 um 20:32 schrieb Amos Jeffries:
> On 24/05/2016 8:15 p.m., Paul Buechler wrote:
>> Hello there,
>>
>> i've got the problem that i can't see the size of uploades to google
>> drive in the access.log. Also the downloads aren't visible to me.
>> Is this a problem caused by HTTPS? I tried changing the logformat but
>> this didn't helped.
> All the normal logs are recording teh data transferred to client. NOt
> from client.
>
> You need to create a custom logformat of your own which uses the %st
> code instead of the %<st code.
> <http://www.squid-cache.org/Doc/config/logformat/>
>
>> best regards,
>> Paul
>>
>>
>> systeminformation:
>>
>> ubuntu 14.04.4 Server
>> squid: Version 3.3.8
>> squid logformat: logformat combined   %>a %[ui %[un [%tl] "%rm %ru
>> HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
>> also tested:
>> logformat squid%ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
>> logformat common%>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st %Ss:%Sh
>> logformat referrer%ts.%03tu %>a %{Referer}>h %ru
>> logformat useragent%>a [%tl] "%{User-Agent}>h"
>>
> Please do not re-define the built in format names. Use a name of your
> own. Unexpected and probably not good things will happen.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160602/e4c5a6b3/attachment.html>


More information about the squid-users mailing list