[Rock-dev] Default log-level for ruby
Jakob Schwendner
jakob.schwendner at dfki.de
Mon Nov 26 11:12:18 CET 2012
On 11/26/2012 11:04 AM, Sylvain Joyeux wrote:
> On 11/26/2012 10:48 AM, Jakob Schwendner wrote:
>> 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
> We could set ORO_LOGLEVEL in orocos.rb based on this value (if it is
> set). Thoughts ?
>
I'd be all for it to have a single switch for the log level. Is the
orocos logging actually used? I thought we use base::logging everywhere.
Jakob
More information about the Rock-dev
mailing list