Return-Path: Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: (qmail 30701 invoked from network); 10 Nov 2010 16:57:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 16:57:57 -0000 Received: (qmail 43824 invoked by uid 500); 10 Nov 2010 16:58:28 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 43756 invoked by uid 500); 10 Nov 2010 16:58:27 -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 43748 invoked by uid 99); 10 Nov 2010 16:58:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 16:58:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FSL_RU_URL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [71.6.165.248] (HELO kramer.ogre.com) (71.6.165.248) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 16:58:21 +0000 Received: from loki.ogre.com (homey.ogre.com [24.56.189.145]) (authenticated bits=0) by kramer.ogre.com (8.14.3/8.14.3) with ESMTP id oAAGvsrW029445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Nov 2010 08:57:55 -0800 X-DKIM: Sendmail DKIM Filter v2.8.3 kramer.ogre.com oAAGvsrW029445 Message-ID: <4CDACF12.60600@apache.org> Date: Wed, 10 Nov 2010 09:57:54 -0700 From: Leif Hedstrom User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Thunderbird/3.1.6 MIME-Version: 1.0 To: users@trafficserver.apache.org CC: a@test123.ru Subject: Re: Basic proxy References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/10/2010 09:09 AM, a@test123.ru wrote: > Thank you very much! CONFIG proxy.config.url_remap.remap_required INT 1 is what the doctor ordered. Trafficserver runs and works. But I cannot see log. I added into log_xml.config with FileName="full/path/to/log.file". It did not create the file and no errors in traffic.out log. How to turn on logging? Default out of the box, the squid binary log should be available, /usr/local/var/log/trafficserver/squid.blog. This is a 'binary' format, so you would need to use "traffic_logcat" to view it, e.g. "traffic_logcat -f /usr/local/var/log/trafficserver/squid.blog". The XML formats you are fiddling with are for making custom log formats. It's incredibly flexible, but in most cases, I think one of the pre-defined log formats (enabled and disabled in records.config, look for "log2" configs) is sufficient. In all cases, binary logs are faster then text logs. Also, all logs are buffered, so there might be a delay until you see something in the logs. Assuming none of the above works, we'll have to try to debug this. For me, squid.blog always works with the default settings. -- Leif