Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grctest opened this issue Feb 18, 2019 · 0 comments

Comments

@grctest
Copy link
Contributor

grctest commented Feb 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant