[Toolserver-l] Phoenix appending stdout to .out file

Jason Y. Lee jylee at cs.ucr.edu
Wed Aug 5 16:10:20 UTC 2009


If they are written in Python, why not simply rewrite the parts being
directed to stdout?

- Jason

On Tue, Aug 4, 2009 at 9:12 PM, Mike.lifeguard <mike.lifeguard at gmail.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I have been using phoenix and cron to keep my IRC bots alive for some
> time, however I never previously needed to see their output.
>
> The bots are written in python, and use print(), which sends data to
> stdout. When running in terminal or screen for example, this is the
> screen. However, when using phoenix, the claim is that stdout is
> redirected to be appended to a .out file. However, it seems not to
> actually be doing that, and the outfile contains only phoenix's output
> (useless, can we have a --quiet option?), and not the output of the bot
> (useful).
>
> I've also become a tad confused with the crontab entries. Currently,
> they have >/dev/null so emails aren't sent ten thousand times a day or
> whatever - would this also redirect the output of the actual python script?
>
> An answer here, or on https://wiki.toolserver.org/view/Phoenix would be
> most welcome.
>
> Thanks,
> - -Mike.lifeguard
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkp5BqoACgkQst0AR/DaKHvaugCbBGpbsd4CPiuzFFpSjCF2d18O
> iRgAoJY7jquVnY3AWigSZPPY2Sa5C0f+
> =GASa
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Toolserver-l mailing list
> Toolserver-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/toolserver-l/attachments/20090805/32eb1367/attachment.htm 


More information about the Toolserver-l mailing list