Hi,

I had a similar problem and managed to make the logging work by setting the 
log output to stdout, like this:

# From config/environments/staging.rb
MyApp::Application.configure do
  config.logger = Logger.new(STDOUT)
  # rest of config removed ..
end


Did a blog post on it here: 
http://blog.arvidandersson.se/2012/03/08/debug-logging-on-heroku-cedar

/Arvid

On Thursday, March 15, 2012 2:29:22 AM UTC+1, Jason Waldrip wrote:
>
> I am also having this issue I cannot get my debug logs to show up on 
> heroku.
>
> On Tuesday, January 31, 2012 4:21:37 PM UTC-7, GeorgeW wrote:
>>
>> I am troubleshooting some problem with my app on heroku.  And I need 
>> to  see some logger.debug output to the via "heroku logs " 
>>
>> I have set the appropriate level "heroku config:add LOG_LEVEL=DEBUG", 
>> but  still it doesn't output the logger.debug output from the 
>> controller.rb   but  it works fine on model.rb files. 
>>
>> Any idea on what is going? 
>>
>> Any workaround/suggestions for debugging are greatly appreciated? 
>>
>> --George 
>>
>> p.s. btw,  I am trying to figure an ajax call problem from a PhoneGap 
>> mobile app to Rails server app.  It works fine against my own server 
>> at home, but fails when working against  Heroku server.  The issue I 
>> suspect is that a header var that I inserted in  beforeSend()    is 
>> NOT  accepted  by Heroku for some reason. 
>>
>> Any suggestion/pointers are greatly appreciated. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/Qy0KkTYEcwwJ.
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.

Reply via email to