Just confirmed this works. 

On Monday, December 5, 2011 11:36:06 AM UTC-8, Dave wrote:
>
> Thank Neil... appreciated.. will try and little trick...
>
>
> On Dec 5, 2:16 pm, Neil Middleton <neil.middle...@gmail.com> wrote:
> > I had an issue with Sinatra on Heroku not outputting it's own output to 
> the Heroku log file even though the Heroku router etc was logging just 
> fine.  By sticking:
> >
> > $stdout.sync = true
> >
> > at the top of the application file, everything started working as 
> expected.  Apparently it's some kind of STDOUT buffering problem and the 
> Ruby MRI.
> >
> > Neil
> >
> >
> >
> >
> >
> >
> >
> > On Monday, 5 December 2011 at 19:11, Dave wrote:
> > > Hi,
> >
> > > I am using the heroku command logs -t in a terminal window and
> > > watching the logs scroll by...
> >
> > > Often I am seeing that my carefully placed puts "got here" type
> > > commands are just plain missing from the logs... if I refresh my
> > > browser to re-issue a certain route in Sinatra I might see all the
> > > output I want, but othertimes, it is just plain missing.
> >
> > > Does the log stream just skip entries at random or is there a better
> > > way to ensure I see ALL my entries?
> >
> > > Just curious...
> >
> > > --
> > > You received this message because you are subscribed to the Google 
> Groups "Heroku" group.
> > > To post to this group, send email to 
> > > her...@googlegroups.com<javascript:>(mailto:
> her...@googlegroups.com <javascript:>).
> > > To unsubscribe from this group, send email to 
> heroku+un...@googlegroups.com <javascript:> (mailto:
> heroku+un...@googlegroups.com <javascript:>).
> > > For more options, visit this group athttp://
> groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to