Skip to content

Log manual poll results as INFO even if comms method is polling #7009

@hjoliver

Description

@hjoliver

The scheduler logs poll results like this:

[1/foo/01:submitted] (polled)succeeded

This is logged as INFO unless the platform comms method is polling, in which case it gets demoted to DEBUG level.

That makes sense for the routine automatic polls on a polled job platform, but manual polls should always be logged as INFO so it's clear what happened as result of the command.

(However, I'm not sure if we can easily distinguish auto and manual polling in the callback, at the moment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    could be betterNot exactly a bug, but not ideal.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions