If they are written in Python, why not simply rewrite the parts being directed to stdout?<br><br>- Jason<br><br><div class="gmail_quote">On Tue, Aug 4, 2009 at 9:12 PM, Mike.lifeguard <span dir="ltr">&lt;<a href="mailto:mike.lifeguard@gmail.com">mike.lifeguard@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
I have been using phoenix and cron to keep my IRC bots alive for some<br>
time, however I never previously needed to see their output.<br>
<br>
The bots are written in python, and use print(), which sends data to<br>
stdout. When running in terminal or screen for example, this is the<br>
screen. However, when using phoenix, the claim is that stdout is<br>
redirected to be appended to a .out file. However, it seems not to<br>
actually be doing that, and the outfile contains only phoenix&#39;s output<br>
(useless, can we have a --quiet option?), and not the output of the bot<br>
(useful).<br>
<br>
I&#39;ve also become a tad confused with the crontab entries. Currently,<br>
they have &gt;/dev/null so emails aren&#39;t sent ten thousand times a day or<br>
whatever - would this also redirect the output of the actual python script?<br>
<br>
An answer here, or on <a href="https://wiki.toolserver.org/view/Phoenix" target="_blank">https://wiki.toolserver.org/view/Phoenix</a> would be<br>
most welcome.<br>
<br>
Thanks,<br>
- -Mike.lifeguard<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkp5BqoACgkQst0AR/DaKHvaugCbBGpbsd4CPiuzFFpSjCF2d18O<br>
iRgAoJY7jquVnY3AWigSZPPY2Sa5C0f+<br>
=GASa<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Toolserver-l mailing list<br>
<a href="mailto:Toolserver-l@lists.wikimedia.org">Toolserver-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/toolserver-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/toolserver-l</a><br>
<br>
</blockquote></div><br>