[tahoe-dev] tips on debugging Tahoe-LAFS client

Rohit Mehta pigdog at gmail.com
Fri Apr 19 02:05:30 UTC 2013


Thank you, Daira, this works great!  With PDB it is quite a bit easier for
me to inspect Tahoe-LAFS code :)

Rohit


On Thu, Apr 18, 2013 at 12:37 AM, Daira Hopwood (formerly David-Sarah) <
daira at jacaranda.org> wrote:

> [sorry if this is a duplicate]
>
> On 17/04/13 03:26, Rohit Mehta wrote:
> > Hi everyone, I guess what I am looking for is already a ticket daira is
> working on (as
> > listed here: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1489)  I
> think the ability to
> > use the Python shell to inspect objects at a point would be great to
> help new people (like
> > me) to get familiar with this code.  For the interim,
> logging/file-output seems to work.
>
> As a temporary fix for that, comment out these two lines in
> src/allmydata/scripts/startstop_node.py :
>
>     lf = logfile.LogFile('tahoesvc.log', logdir)
>     log.startLogging(lf)
>
> --
> Daira Hopwood ⚥  (formerly David-Sarah)
>
>
>
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130418/34a3d966/attachment.html>


More information about the tahoe-dev mailing list