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

Alfonso Montero López amontero at tinet.org
Fri Apr 19 16:07:51 UTC 2013


I've linked this thread in https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Dev
I hope more tips/docs get compiled there.

2013/4/19 Rohit Mehta <pigdog at gmail.com>:
> 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
>>
>
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>


More information about the tahoe-dev mailing list