Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

polling shard consumer directly uses logrus #52

@brandon-lango

Description

@brandon-lango

Describe the bug

The polling shard consumer includes logrus and directly uses it in the renewLease function. It should be using the logger passed in kclconfig like the other functions.

Reproduction steps

Start a working using the polling consumer. Notice the debug level refreshing lease on shared messages coming from logrus.

Expected behavior

All log messages use the logger I have configured in kclconfig.

Additional context

Log is spammed with debug level messages with "Refreshing lease on shard:". To work around this, the logrus level needs to be set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions