Skip to content

Util.logger log messages level logic is total mess #11

@piavlo

Description

@piavlo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions