rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Logging for debugging
@ 2012-07-31 22:42 Chris Johnson
  2012-08-01 13:59 ` Anurag Priyam
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Johnson @ 2012-07-31 22:42 UTC (permalink / raw)
  To: rack-devel

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


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.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-01 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31 22:42 Logging for debugging Chris Johnson
2012-08-01 13:59 ` Anurag Priyam

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


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