From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: timestamping log entries Date: Tue, 12 Oct 2010 01:43:07 -0700 Message-ID: <20101012084307.GA14304@dcvr.yhbt.net> References: <4CB3C5FD.4000409@cerego.co.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286874208 16755 80.91.229.12 (12 Oct 2010 09:03:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 09:03:28 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Tue Oct 12 11:03:25 2010 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Content-Disposition: inline In-Reply-To: <4CB3C5FD.4000409@cerego.co.jp> User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:728 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5alX-0005bU-Md for gclrug-mongrel-unicorn@m.gmane.org; Tue, 12 Oct 2010 11:03:23 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 3171A177993F; Tue, 12 Oct 2010 05:03:20 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id E7EBF19783D3 for ; Tue, 12 Oct 2010 04:43:07 -0400 (EDT) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id DFBCC1F760; Tue, 12 Oct 2010 08:43:05 +0000 (UTC) Zev Blut wrote: > Hello, > > On 10/10/2010 05:23 PM, Jimmy Soho wrote: > >> When I look in the unicorn.stdout.log and/or unicorn.stderr.log files >> some lines are timestamped, some aren't. How could I get all lines >> timestamped? > > +1 > I too would really like to see some sort of time stamp for the log files. They're enabled, but Rails does something funky after it's loaded: >>From the FAQ, http://unicorn.bogomips.org/FAQ.html | === Why are log messages from Unicorn are unformatted when using Rails? | | Current versions of Rails unfortunately overrides the default Logger | formatter. | | You can undo this behavior with the default logger in your Unicorn | config file: | | Configurator::DEFAULTS[:logger].formatter = Logger::Formatter.new | | Of course you can specify an entirely different logger as well | with the "logger" directive described by Unicorn::Configurator. (sorry for the delayed reply, on vacation). -- Eric Wong _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying