Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77826 > unrolled thread

Re: Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

Started byChris Angelico <rosuav@gmail.com>
First post2014-09-13 11:50 +1000
Last post2014-09-13 11:50 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python stdout goes where under systemd? (Was: Example of python service running under systemd?) Chris Angelico <rosuav@gmail.com> - 2014-09-13 11:50 +1000

#77826 — Re: Python stdout goes where under systemd? (Was: Example of python service running under systemd?)

FromChris Angelico <rosuav@gmail.com>
Date2014-09-13 11:50 +1000
SubjectRe: Python stdout goes where under systemd? (Was: Example of python service running under systemd?)
Message-ID<mailman.13986.1410573019.18130.python-list@python.org>
On Sat, Sep 13, 2014 at 7:45 AM, Travis Griggs <travisgriggs@gmail.com> wrote:
> Python print() is buffered, so it wasn’t showing up except in huge blocks. Changed the .service file to start with -u and everything works as expected now.

Ah, yes, that'll happen any time stdout isn't connected to a tty.
Nothing to do with systemd or journal.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web