The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Anurag Priyam <anurag08pri...@gmail.com>
Date: Wed, 1 Aug 2012 19:29:48 +0530
Local: Wed, Aug 1 2012 9:59 am
Subject: Re: Logging for debugging
On Wed, Aug 1, 2012 at 4:12 AM, Chris Johnson <wchrisjohn...@gmail.com> wrote:
What is this Rack app logging? If the app is using a compliant
> I'm simply trying to configure a *very* simple Rack app to enable logging to > a file so I can tell what's going on when I exercise the app. I am using > Grape (gem) within a basic Rack app to build an API, and I can't tell what > is going on. I've spent over an hour, and yet cannot find ANYTHING on how to > configure a logger inside Rack to log text to a file. middleware to log, for example, HTTP requests, setting 'rack.errors'[1] to a File object should work. If you are looking to log your own actions in the app, `Logger` class
[1]: http://rack.rubyforge.org/doc/SPEC.html
-- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||