Some logger messages log level do not make any sense
just a few examples from Worker class implementation:
Util.logger.error "GearmanRuby: Got job_assign with handle #{handle} and #{data.size} byte(s) " + ...
It should probably be debug or info, but certainly not and error.
Util.logger.debug "GearmanRuby: Sending work_fail for #{handle} to #{hostport}"
Util.logger.debug "GearmanRuby: Sending work_exception for #{handle} to #{hostport}"
Util.logger.debug "GearmanRuby: Exception: #{e}\n#{e.backtrace.join("\n")}\n"
Those should be error and certainly not debug
There are many more
do I get something wrong here?
Thanks
Some logger messages log level do not make any sense
just a few examples from Worker class implementation:
Util.logger.error "GearmanRuby: Got job_assign with handle #{handle} and #{data.size} byte(s) " + ...
It should probably be debug or info, but certainly not and error.
Util.logger.debug "GearmanRuby: Sending work_fail for #{handle} to #{hostport}"
Util.logger.debug "GearmanRuby: Sending work_exception for #{handle} to #{hostport}"
Util.logger.debug "GearmanRuby: Exception: #{e}\n#{e.backtrace.join("\n")}\n"
Those should be error and certainly not debug
There are many more
do I get something wrong here?
Thanks