Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 531E71060A for ; Mon, 25 Nov 2013 06:37:00 +0000 (UTC) Received: (qmail 23483 invoked by uid 500); 25 Nov 2013 06:36:59 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 23143 invoked by uid 500); 25 Nov 2013 06:36:57 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 23129 invoked by uid 99); 25 Nov 2013 06:36:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 06:36:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of moseleymark@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 06:36:50 +0000 Received: by mail-ie0-f170.google.com with SMTP id qd12so6299429ieb.15 for ; Sun, 24 Nov 2013 22:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=DFYl+SNd5DxLfn5h5b3a77DTJtkPXqkMGgJ/NHgmivw=; b=hFsIB93UKHbsgeEo0DxkVnwmAUsg4qdnWY+aCZk2M2V4Q/U8rr339+/8J+SXjG/qCG /RjPgS05sFTyzA2F9eO0yzM8ac91q85YwY/58KxdjlsZBkD4ruijmXJHn7UIZdUuJbol ZUmtaFTD+x99jVMx1kR/lbzxDvfC82dbGGHPsRH+Qoaj4J/kW8EX4Xhslz8tm2KWon3c 3oOt0dPw2eIfs9m2uRS7lZJIKdzB6jsdc37I7Zf/j41r83J+1759UI3932QR8MQwVfjw 0fn+xrZmt94laa3Ymv/bVRPFit6dIoIP0buFJjYAQ8mJyeRdkTudbn9j5ucZeaGDFaYi FRag== MIME-Version: 1.0 X-Received: by 10.50.6.99 with SMTP id z3mr11621963igz.27.1385361389951; Sun, 24 Nov 2013 22:36:29 -0800 (PST) Received: by 10.50.102.10 with HTTP; Sun, 24 Nov 2013 22:36:29 -0800 (PST) Date: Sun, 24 Nov 2013 22:36:29 -0800 Message-ID: Subject: No logs without proxy.config.http.enable_http_stats=1 From: Mark Moseley To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=e89a8f3b9c23898c8c04ebfa95c2 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3b9c23898c8c04ebfa95c2 Content-Type: text/plain; charset=ISO-8859-1 (ATS 4.1.1, Ubuntu Precise 64-bit) This may easily be chalked up to 'well, that's how it's supposed to work', but I figured I'd ask anyway. I was scratching my head trying to figure out why I couldn't get any of the http logging working. strace'ing would show ATS opening the files, optionally rotating old ones, but never actually writing anything to them. I was going through all the options that were different from the out-of-the-box config that the source comes with and finally got logging working when I switched my config from proxy.config.http.enable_http_stats=0 to =1. It could be somehow interacting with other settings I've got, but I could definitely enable and disable logging by toggling that option. I can definitely see the connection between the two things, stats and logging (of those stats). I had taken the warning in the configs, "The HTTP stats are expensive, turn off you don't need them", so I had turned that option off. But I expected that it referred to the various HTTP UI pages you can poke around the various ATS statistics with, not anything to do with logging. * Is that supposed to disable logging? * Is the "The HTTP stats are expensive, turn off you don't need them" warning still apply in current versions of ATS? *Summary logging is very cool. Is there a selector or something that you can apply to a logging tag? I'm trying to get the HIT vs MISS stats in the summary. Something like "% %" would be pretty cool to be able to do. Thanks! Sorry for all the questions. --e89a8f3b9c23898c8c04ebfa95c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
(ATS 4.1.1, Ubuntu Prec= ise 64-bit)

This may easily be chalked up to 'well, that&#= 39;s how it's supposed to work', but I figured I'd ask anyway. =

I was scratching my head trying to figure out why I couldn't = get any of the http logging working. strace'ing would show ATS opening = the files, optionally rotating old ones, but never actually writing anythin= g to them.

I was going through all the options that were different from the = out-of-the-box config that the source comes with and finally got logging wo= rking when I switched my config from proxy.config.http.enable_http_stats=3D= 0 to =3D1. It could be somehow interacting with other settings I've got= , but I could definitely enable and disable logging by toggling that option= .

I can definitely see the connection between the two things, stats= and logging (of those stats). I had taken the warning in the configs, &quo= t;The HTTP stats are expensive, turn off you don't need them", so = I had turned that option off. But I expected that it referred to the variou= s HTTP UI pages you can poke around the various ATS statistics with, not an= ything to do with logging.

* Is that supposed to disable logging?

* Is the &qu= ot;The HTTP stats are expensive, turn off you don't need them" war= ning still apply in current versions of ATS?

*Summary log= ging is very cool. Is there a selector or something that you can apply to a= logging tag? I'm trying to get the HIT vs MISS stats in the summary. S= omething like "%<COUNT(crc=3D=3DHIT)> %<COUNT(crc=3DMISS)>= " would be pretty cool to be able to do.

Thanks! Sorry for all the questions.
--e89a8f3b9c23898c8c04ebfa95c2--