rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
From: Chris Johnson <wchrisjohnson@gmail.com>
To: rack-devel@googlegroups.com
Subject: Logging for debugging
Date: Tue, 31 Jul 2012 15:42:23 -0700 (PDT)	[thread overview]
Message-ID: <5b9ef89c-7467-433c-9fa1-9044edeb4013@googlegroups.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

Hi,

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. 

I'll also say that I'm mounting the Rack app inside a Rails app, and so I 
need to be able to log to a file so I can tell how it's behaving within 
Rails. I don't necessarily need to have the two apps (Rails and Rack) 
logging to the same file.

Any help would be greatly appreciated.

Chris

[-- Attachment #2: Type: text/html, Size: 752 bytes --]

             reply	other threads:[~2012-08-01 10:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 22:42 Chris Johnson [this message]
2012-08-01 13:59 ` Anurag Priyam

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=5b9ef89c-7467-433c-9fa1-9044edeb4013@googlegroups.com \
    --to=rack-devel@googlegroups.com \
    --subject='Re: Logging for debugging' \
    /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

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

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).