Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 422 invoked from network); 10 May 2006 13:31:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2006 13:31:18 -0000 Received: (qmail 41532 invoked by uid 500); 10 May 2006 13:31:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 41521 invoked by uid 500); 10 May 2006 13:31:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 41510 invoked by uid 99); 10 May 2006 13:31:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 06:31:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 66.249.82.194 as permitted sender) Received: from [66.249.82.194] (HELO wx-out-0102.google.com) (66.249.82.194) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 06:31:01 -0700 Received: by wx-out-0102.google.com with SMTP id h28so1320245wxd for ; Wed, 10 May 2006 06:30:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fD80rZRU1hrxZNZpLwPlAbrfKKsw0HOv0sDnvEyxRefvMWgGuOQ4v98G6kV0/CgmnGwLwkQ9YLq4lYSsCr96l9VZGXtfZZ5SbfZTiK0c8Wc6TONmH7HM2jO+3pBzyFz9yzXXcdBJqbgdgyt2mqcqVeSWkANka4gVnEDSxv3dF7o= Received: by 10.70.16.12 with SMTP id 12mr351979wxp; Wed, 10 May 2006 06:30:40 -0700 (PDT) Received: by 10.70.40.10 with HTTP; Wed, 10 May 2006 06:30:40 -0700 (PDT) Message-ID: Date: Wed, 10 May 2006 09:30:40 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org, okamoto3@palette.plala.or.jp In-Reply-To: <4461BB04.5010506@palette.plala.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4461BB04.5010506@palette.plala.or.jp> X-Google-Sender-Auth: c99eaf56dcc9f89e X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] [Question]error_log X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 5/10/06, Okamoto Toshiaki wrote: > Hi Alls: > I have two question about error_log. > 1.ap_log_error() > I would like to output multiple line comments to error_log by > ap_log_error(). > But, 5th argument is seemed to be escaped. > ap_log_error(..,"line1\nline2") ---> ".. line1\nline2" in error_log > Is it possible to be the following output? > ".. line1[NL] > line2" No, I don't believe that is possible. (It is possible to turn off the escaping entirely with a compile-time define I believe. You might want to look at what mod_perl is doing, because they faced this problem when the escaping was added.) > 2.rotatelog > I would like rotate error_log by rotatelog. > For example, 6 generations. > error_log--->error_log.1--->error_log.2,,,error_log.5--->delete > Is it possible? Yes, it works exactly the same as for the access log. Just specify "|/path/to/rotatelogs ..." in place of the filename. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org