Skip to content

Systemctl status doesn't see printed messages from within p.starmap function #1

@grctest

Description

@grctest

When you run the command systemctl status norn_feed.service the only output is the following:

Feb 17 23:37:39 user python3[10101]: ---------
Feb 17 23:37:39 user python3[10101]: Attempting to publish
Feb 17 23:37:42 user python3[10101]: ---------

However, when you run the script directly it prints:

python3 parallel_feed.py
Started
ws connection established
Attempting to publish
Published URTHR
Published VERTHANDI
Published SKULD
---------
Attempting to publish
Skipped publishing URTHR. Next attempt in approximately 112 seconds
Skipped publishing VERTHANDI. Next attempt in approximately 112 seconds
Skipped publishing SKULD. Next attempt in approximately 112 seconds
---------

Despite the reduced log output from systemctl status output, the pool starmap functions do successfully publish feeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions