Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/python/src/taskbroker_client/scheduler/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from taskbroker_client.scheduler.schedules import CrontabSchedule, Schedule, TimedeltaSchedule
from taskbroker_client.task import Task

logger = logging.getLogger("taskworker.scheduler")
logger = logging.getLogger(__name__)

if TYPE_CHECKING:
from sentry_sdk._types import MonitorConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from sentry_sdk._types import MonitorConfigScheduleUnit

logger = logging.getLogger("taskworker.scheduler")
logger = logging.getLogger(__name__)


class Schedule(metaclass=abc.ABCMeta):
Expand Down
2 changes: 1 addition & 1 deletion clients/python/src/taskbroker_client/worker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from taskbroker_client.metrics import MetricsBackend
from taskbroker_client.types import InflightTaskActivation, ProcessingResult

logger = logging.getLogger("sentry.taskworker.client")
logger = logging.getLogger(__name__)

MAX_ACTIVATION_SIZE = 1024 * 1024 * 10
"""Max payload size we will process."""
Expand Down
2 changes: 1 addition & 1 deletion clients/python/src/taskbroker_client/worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
)
from taskbroker_client.worker.workerchild import child_process

logger = logging.getLogger("sentry.taskworker.worker")
logger = logging.getLogger(__name__)


class TaskWorker:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from taskbroker_client.task import Task
from taskbroker_client.types import InflightTaskActivation, ProcessingResult

logger = logging.getLogger("sentry.taskworker.worker")
logger = logging.getLogger(__name__)


class ProcessingDeadlineExceeded(BaseException):
Expand Down
Loading