[Rock-dev] Default log-level for ruby

Jakob Schwendner jakob.schwendner at dfki.de
Mon Nov 26 10:48:10 CET 2012


Hi,

I've just added a small patch to utilrb, which uses the BASE_LOG_LEVEL 
value as the default log-level for the Ruby Logger class. So now you 
don't have to change your ruby script to change the log level, and you 
can just do

BASE_LOG_LEVEL=DEBUG ruby yourscript.rb

to get all the beautiful information that you want, from both the 
scripts and the modules.

cheers,

Jakob


More information about the Rock-dev mailing list