'tahoe run' should not redirect stdout/stderr #1489

Closed
opened 2011-08-18 01:26:44 +00:00 by davidsarah · 4 comments
davidsarah commented 2011-08-18 01:26:44 +00:00
Owner

: so first off, any 'print's in the gateway will show up in NODEDIR/logs/tahoesvc.log twistd.log, not on stdout

<T_X>: ah! okay, I was already wondering whether something gets redirected :)

: (that's always true when launched with 'tahoe start', but I think it may also currently be true when run with 'tahoe run', although I'd love to fix that)

This would be very useful for debugging.

<warner>: so first off, any 'print's in the gateway will show up in `NODEDIR/logs/tahoesvc.log` ~~`twistd.log`~~, not on stdout <T_X>: ah! okay, I was already wondering whether something gets redirected :) <warner>: (that's always true when launched with 'tahoe start', but I think it may also currently be true when run with 'tahoe run', although I'd love to fix that) This would be very useful for debugging.
tahoe-lafs added the
code
major
defect
1.8.2
labels 2011-08-18 01:26:44 +00:00
tahoe-lafs added this to the undecided milestone 2011-08-18 01:26:44 +00:00
tahoe-lafs added
minor
and removed
major
labels 2011-08-18 01:29:26 +00:00
davidsarah commented 2011-08-24 02:01:15 +00:00
Author
Owner

This would also allow you to use "import pdb; pdb.set_trace()" to trap into the Python debugger from a node run using tahoe run. Currently that's unusable because of the redirection to tahoesvc.log (but I don't think there is any other obstacle to doing it).

This would also allow you to use "`import pdb; pdb.set_trace()`" to trap into the Python debugger from a node run using `tahoe run`. Currently that's unusable because of the redirection to `tahoesvc.log` (but I don't think there is any other obstacle to doing it).
tahoe-lafs added
major
and removed
minor
labels 2011-08-24 02:01:15 +00:00
tahoe-lafs modified the milestone from undecided to eventually 2011-08-24 02:01:15 +00:00
tahoe-lafs modified the milestone from eventually to 1.10.0 2012-04-01 04:44:53 +00:00

good idea, but no code yet, so pushing out to next release

good idea, but no code yet, so pushing out to next release
warner modified the milestone from 1.10.0 to 1.11.0 2012-09-04 16:46:28 +00:00
Lcstyle commented 2014-09-27 02:27:39 +00:00
Author
Owner

debugging is what I do, sounds like an easy fix.

debugging is what I do, sounds like an easy fix.
tahoe-lafs added
normal
and removed
major
labels 2014-09-27 13:41:38 +00:00
tahoe-lafs modified the milestone from soon to 1.12.0 2014-09-27 13:41:38 +00:00
daira commented 2014-12-06 23:00:09 +00:00
Author
Owner

This was fixed in [87a6894e6299148d639279fbd909110ba00d0080/trunk].

This was fixed in [87a6894e6299148d639279fbd909110ba00d0080/trunk].
tahoe-lafs added the
fixed
label 2014-12-06 23:00:09 +00:00
tahoe-lafs modified the milestone from 1.12.0 to 1.11.0 2014-12-06 23:00:09 +00:00
daira closed this issue 2014-12-06 23:00:09 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1489
No description provided.