Can I change the Logger level for a method in Rails 4.0? -


i´m using logger in rails 4 application. can change log level dinamically in method/function without affecting whole application level?

update: know can change debug level other levels, however, @ moment application needs debug, think debug level right. problem have heavy process executes lots of queries. know, rails not writes logs when write explicit log, in debug level, writes logs every query. process writes lots of logs in debug level. that´s reason why change log process or method.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -