From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.141.43.5 with SMTP id v5cs407572rvj; Thu, 25 Feb 2010 17:26:08 -0800 (PST) Received-SPF: pass (google.com: domain of 3LiOHSwoJCiQTHESCHMICKGMAIL.COMRACK-DEVELGOOGLEGROUPS.COM@groups.bounces.google.com designates 10.150.59.4 as permitted sender) client-ip=10.150.59.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3LiOHSwoJCiQTHESCHMICKGMAIL.COMRACK-DEVELGOOGLEGROUPS.COM@groups.bounces.google.com designates 10.150.59.4 as permitted sender) smtp.mail=3LiOHSwoJCiQTHESCHMICKGMAIL.COMRACK-DEVELGOOGLEGROUPS.COM@groups.bounces.google.com; dkim=pass header.i=3LiOHSwoJCiQTHESCHMICKGMAIL.COMRACK-DEVELGOOGLEGROUPS.COM@groups.bounces.google.com Received: from mr.google.com ([10.150.59.4]) by 10.150.59.4 with SMTP id h4mr283669yba.74.1267147567731 (num_hops = 1); Thu, 25 Feb 2010 17:26:07 -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:received-spf:received:mime-version:received:date :x-ip:user-agent:x-http-useragent: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=MRFo0/J5BbxJeOduTtgKHCbuufzpbl+9sae2l/D/aA8=; b=VKN8km9KWwRDhYxP5cdgTj8bHj+axhktynVNB1Td9pUK1Z8eNf/+iYMpQTdeWxKyqR UyHryyu7hmdoBSvECrxN51V3fhU5Q1Rr9h7Am2Qf4Qs+fg6svFtB39tvbFObhhlSobFt W+HNR/QSi1u/kwFeL4DdHpTG5YTeax8k4+pxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:x-ip:user-agent :x-http-useragent: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=7Dp6TS01FUU6vks5py2GmPg/OqDYPz30u6785HCa9MTEMlYgG1it6cilmWku2VAHGv sJdTOfJLVCtnKcCf0JeAFXlVSUzWZNcvqH3C/yat+hMGrmclq8B7KxPNrf73KYMHtiXp XGPsFjarQJNkiJwmcyNj1tFDSf6V6D135/Td0= Received: by 10.150.59.4 with SMTP id h4mr27202yba.74.1267147566499; Thu, 25 Feb 2010 17:26:06 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.150.38.5 with SMTP id l5ls47604ybl.1.p; Thu, 25 Feb 2010 17:26:05 -0800 (PST) Received: by 10.151.92.2 with SMTP id u2mr517666ybl.16.1267147565019; Thu, 25 Feb 2010 17:26:05 -0800 (PST) Received: by 10.91.83.18 with SMTP id k18mr539623agl.10.1267137074158; Thu, 25 Feb 2010 14:31:14 -0800 (PST) Received: by 10.91.83.18 with SMTP id k18mr539621agl.10.1267137074109; Thu, 25 Feb 2010 14:31:14 -0800 (PST) Return-Path: Received: from mail-gy0-f192.google.com (mail-gy0-f192.google.com [209.85.160.192]) by gmr-mx.google.com with ESMTP id 12si672532gxk.10.2010.02.25.14.31.14; Thu, 25 Feb 2010 14:31:14 -0800 (PST) Received-SPF: pass (google.com: domain of theschmick@gmail.com designates 209.85.160.192 as permitted sender) client-ip=209.85.160.192; Received: by mail-gy0-f192.google.com with SMTP id 5so1838284gye.29 for ; Thu, 25 Feb 2010 14:31:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.3.2 with SMTP id f2mr20497ani.37.1267137074049; Thu, 25 Feb 2010 14:31:14 -0800 (PST) Date: Thu, 25 Feb 2010 14:31:14 -0800 (PST) X-IP: 63.82.3.146 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.9 Safari/532.9,gzip(gfe),gzip(gfe) Message-ID: <7b7b18f7-423d-4f48-bfa7-bac9a4fc97ee@v13g2000yqv.googlegroups.com> Subject: log_tailer doesn't respect custom log paths From: leigh To: Rack Development X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of theschmick@gmail.com designates 209.85.160.192 as permitted sender) smtp.mail=theschmick@gmail.com X-Original-Sender: theschmick@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/12b35e59108ff6ff Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 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