durusmail: quixote-users: simple_server log to file?
*** PROBABLY SPAM *** simple_server log to file?
2005-03-08
2005-03-08
simple_server log to file?
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-10
simple_server log to file?
Mario Ruggier
2005-03-09
On Mar 8, 2005, at 9:59 PM, David Binger wrote:
> Mario Ruggier wrote:
>
>> I would prefer if I could have simple_server write its logging to
>> file (yes, i know what the simple in its name implies... ;) to
>> facilitate some debugging. Is there a trick how to obtain this, even
>> at os (X) level, however unpretty ?
>
> This works for me:
> python server/simple_server.py 2>log

Unix is funny, full of smilies... never got that redirect syntax ;-(

OK, I have tried this, but i lose the output of the sprinkled prints in
the code?
I have also tried the double redirect: 1>logfile 2>&1
but with same behaviour. Where are the prints going?

mario

ps: python can also be very smilie...

for all that is in this unoriginal text[:]:
        does not pass by uncutely





reply