srochan
Results
2
comments of
srochan
This is not working even in development. The classname is ActiveSupport::Logger is on rails console. How can I check the value on the deployed app?
Here is my initializer formatter = Proc.new{|severity, time, progname, msg| formatted_severity = sprintf("%-5s",severity.to_s) formatted_time = time.strftime("%Y-%m-%d %H:%M:%S") caller_trace=caller.clone caller_trace.delete_if {|x| x.include?"logger" or x.include? "lgg"} callee = caller_trace[0].split("/").last "[#{formatted_severity} #{formatted_time} #{callee}]...