Changes between Initial Version and Version 1 of Ticket #68, comment 53
- Timestamp:
- 2010-07-21T16:47:15Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #68, comment 53
initial v1 2 2 > 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 .) 3 3 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.4 That 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.