Displaying 3 results from an estimated 3 matches for "log_subscriber".
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
...support/dependencies.rb:212:in
`require''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/
activeresource-3.0.0.beta4/lib/active_resource/base.rb:17:in `<top
(required)>''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/
activeresource-3.0.0.beta4/lib/active_resource/railties/
log_subscriber.rb:11:in `logger''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/railties-3.0.0.beta4/
lib/rails/log_subscriber.rb:76:in `map''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/railties-3.0.0.beta4/
lib/rails/log_subscriber.rb:76:in `flushable_loggers''
/home/lm/.rvm/ge...
2011 Apr 15
0
Suppressing log line for partials
...ave a lot of partials, so I find that my production.log file gets
pretty cluttered and large quickly and it makes it more difficult to
use. I like most of the messages, I just don''t see a need for taking
up a line for each partial that is rendered. The logging is done in
action_pack in the log_subscriber file here:
class LogSubscriber < ActiveSupport::LogSubscriber
def render_template(event)
message = "Rendered #{from_rails_root(event.payload[:identifier])}"
message << " within #{from_rails_root(event.payload[:layout])}"
if event.payload[:layout]...
2010 Oct 26
5
Display Time benchmark on page
Like we saw in console or rails log show totaltime, database time,
rendering time. on my page footer in production.
is it possible to acces those information from controller or view
template with out time it again ?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this