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 <[email protected]>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 > [email protected] > https://lists.wikimedia.org/mailman/listinfo/toolserver-l > >
_______________________________________________ Toolserver-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/toolserver-l
