Thank Neil... appreciated.. will try and little trick...
On Dec 5, 2:16 pm, Neil Middleton <[email protected]> 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 [email protected] > > (mailto:[email protected]). > > To unsubscribe from this group, send email to > > [email protected] > > (mailto:[email protected]). > > 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
