From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.141.43.5 with SMTP id v5cs407710rvj; Thu, 25 Feb 2010 17:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of 3wCOHSwcJCrYoYupnejciWeh.YkinWYg-Zarahckkchacnkqlo.Yki@groups.bounces.google.com designates 10.141.91.10 as permitted sender) client-ip=10.141.91.10; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3wCOHSwcJCrYoYupnejciWeh.YkinWYg-Zarahckkchacnkqlo.Yki@groups.bounces.google.com designates 10.141.91.10 as permitted sender) smtp.mail=3wCOHSwcJCrYoYupnejciWeh.YkinWYg-Zarahckkchacnkqlo.Yki@groups.bounces.google.com; dkim=pass header.i=3wCOHSwcJCrYoYupnejciWeh.YkinWYg-Zarahckkchacnkqlo.Yki@groups.bounces.google.com Received: from mr.google.com ([10.141.91.10]) by 10.141.91.10 with SMTP id t10mr279223rvl.11.1267147713322 (num_hops = 1); Thu, 25 Feb 2010 17:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:received:in-reply-to :references:date:message-id:subject:from:to :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type; bh=77TuzQHTADviKJ5Kliq+3Uqffg2ZNlXO0PcB+s+sDL4=; b=GC2f/wcMFnzBVOvZ9Slnasfa9pcILPvOcIoS0eXLKWigMGbU2QY5Cyd9zJYY0rIAFF vSB6oRDhb4XYwoX6FmMFbY3Tj5EDS9OuTii67Ebk2cv0Mb3WO4u8/vO7Le2IiB/TWj8L /5zDM0zylJelayAbEEqRfJH+mnXRVa0qP2NOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-authentication-results :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:x-thread-url:x-message-url:sender :list-subscribe:list-unsubscribe:content-type; b=iKi59PD/lL+hU2hkR3j7Hvz/u02AuO5RXZtYoXeJTmHfxscdlkBx3oBcjAPTZArY/f 7OA1akKXC8+kd7QFXQvkEWu9CwdaG8atKXF9VOwwry7TTzX5XAwWo6zkISn9xbTuQFhy AzVkw4Vs8BDioTrVu7QXu5xm3sVhMUZyJP46k= Received: by 10.141.91.10 with SMTP id t10mr39040rvl.11.1267147712089; Thu, 25 Feb 2010 17:28:32 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.141.214.36 with SMTP id r36ls428627rvq.2.p; Thu, 25 Feb 2010 17:28:31 -0800 (PST) Received: by 10.141.124.7 with SMTP id b7mr69712rvn.5.1267147710886; Thu, 25 Feb 2010 17:28:30 -0800 (PST) Received: by 10.141.124.7 with SMTP id b7mr69711rvn.5.1267147710865; Thu, 25 Feb 2010 17:28:30 -0800 (PST) Return-Path: Received: from mail-px0-f199.google.com (mail-px0-f199.google.com [209.85.216.199]) by gmr-mx.google.com with ESMTP id 19si685881pzk.3.2010.02.25.17.28.29; Thu, 25 Feb 2010 17:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of scytrin@gmail.com designates 209.85.216.199 as permitted sender) client-ip=209.85.216.199; Received: by pxi37 with SMTP id 37so317365pxi.11 for ; Thu, 25 Feb 2010 17:28:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.249.25 with SMTP id w25mr373560wfh.15.1267147708545; Thu, 25 Feb 2010 17:28:28 -0800 (PST) In-Reply-To: <7b7b18f7-423d-4f48-bfa7-bac9a4fc97ee@v13g2000yqv.googlegroups.com> References: <7b7b18f7-423d-4f48-bfa7-bac9a4fc97ee@v13g2000yqv.googlegroups.com> Date: Thu, 25 Feb 2010 20:28:28 -0500 Message-ID: <5a9d52bd1002251728s7189fb4cw8799b80ec79c06fe@mail.gmail.com> Subject: Re: log_tailer doesn't respect custom log paths From: Scytrin dai Kinthra To: rack-devel@googlegroups.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of scytrin@gmail.com designates 209.85.216.199 as permitted sender) smtp.mail=scytrin@gmail.com; dkim=pass (test mode) header.i=@gmail.com X-Original-Sender: scytrin@gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/200b3baa861f576c X-Message-Url: http://groups.google.com/group/rack-devel/msg/612c29cedea6a6a8 Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=UTF-8 So, this looks like an issue with rails, unless you're having an issue with integration and settings on the Rack side of things... If it is the latter, would you be able to provide code or more details? On Thu, Feb 25, 2010 at 17:31, leigh wrote: > I am using a custom logger for my config.logger via Log4r. My log > files use the timestamp in their name (e.g., development. > 02-25-2010.log). The log_tailer.rb assumes that the log file name is > the default development.log, which is a false assumption. Thus, when I > try to start > my server without detaching it, it crashes. Not being able to use rack > without using the default log name seems like a bug. Shouldn't it > check the config.log_path or config.logger? > > Here is a related thread I found: > > https://rails.lighthouseapp.com/projects/8994/tickets/2350-logtailer-ignores-configlog_path > > I downloaded the latest version of the rack gem though, and it does > not seem to have incorporated the submitted patch. > > I see that the LogTailer class's initialize method takes an optional > log parameter, but I'm not sure how I would modify my configuration or > environment to get it to pick up my custom logger or if that's even > possible. > > Leigh > -- stadik.net