Skip to content

Don't log a warning when task queue kind is unspecified #8322

@jvilk-stripe

Description

@jvilk-stripe

Is your feature request related to a problem? Please describe.

The temporal server logs the following log line every time a task runs without the task queue kind set:

level=WARN msg="Unspecified task queue kind" service=frontend wf-task-queue-name=devbox-temporal-server:pay-server:shared wf-namespace=dev>

As a result, it dominates server log output. kind is well-documented to default to "Normal", so it seems odd to warn about this behavior.

The Ruby SDK we are using does not pass kind, so every Ruby task we run generates this log line. This seems like a high amount of logs for a non-issue!

Source of log line:

wh.logger.Warn("Unspecified task queue kind",

Describe the solution you'd like

Don't emit this log line by default. Maybe move it to a verbose option if it's useful for some.

Describe alternatives you've considered

We may try to patch our Ruby SDK to pass kind to silence this log line, but I believe the community would benefit from less log chunder.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions