padrino/padrino-framework — pull request #720 by marcosdsanchez (2011-11-14 03:56:03+00:00)
Title: set PADRINO_LOG_LEVEL constant by default

This PR comes after these question:
http://stackoverflow.com/questions/8082848/how-do-i-log-queries-in-a-rake-task-using-datamapper-and-padrino

Basically, I didn't understand why logging was working ok inside the padrino admin but not in a rake file.

I think the PADRINO_LOG_LEVEL constant should be included by default to make it easier to avoid problems like this.