From: leigh <theschmick@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: log_tailer doesn't respect custom log paths
Date: Thu, 25 Feb 2010 14:31:14 -0800 (PST) [thread overview]
Message-ID: <7b7b18f7-423d-4f48-bfa7-bac9a4fc97ee@v13g2000yqv.googlegroups.com> (raw)
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
next reply other threads:[~2010-02-26 1:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 22:31 leigh [this message]
2010-02-26 1:28 ` log_tailer doesn't respect custom log paths Scytrin dai Kinthra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7b7b18f7-423d-4f48-bfa7-bac9a4fc97ee@v13g2000yqv.googlegroups.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).