Changes between Initial Version and Version 1 of Ticket #68, comment 53


Ignore:
Timestamp:
2010-07-21T16:47:15Z (14 years ago)
Author:
zooko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #68, comment 53

    initial v1  
    22> Yes. But for displaying a warning to the user, I would {{{print >>sys.stderr}}}. (For tests, {{{sys.stderr}}} can be captured; see the existing tests in source:src/allmydata/test/test_runner.py .)
    33
    4 That works for cli scripts, but for the Tahoe-LAFS node itself (unless it is using {{{tahoe run}}} or a possible future {{{tahoe start --nodaemon}}}, where would lines written to stderr go? I would hope that they would be logged, but it is possible they would be silently dropped.
     4That works for cli scripts, but for the Tahoe-LAFS node itself (unless it launched with {{{tahoe run}}} or a possible future {{{tahoe start --nodaemon}}}), where would lines written to stderr go? I would hope that they would be logged, but it is possible they would be silently dropped.