Mon Jul 12 23:29:03 2010david [...] kineticode.com - Ticket created
CC:
Bret Dawson <bret [...] pectopah.com>, Daniel Stenberg <daniel [...] haxx.se>
Subject:
Add trace Parameter and/or Accessor
Date:
Mon, 12 Jul 2010 20:28:54 -0700
To:
bug-net-ssh2 [...] rt.cpan.org
From:
"David E. Wheeler" <david [...] kineticode.com>
Dear Net::SSH2 maintainers,
It would be handy to be able to enable libssh2 trace output by adding a parameter to new(), or an accessor. The necessity of uncommenting line 546 and rebuilding is a bit annoying. Could a trace parameter and/or accessor be added? Is the error output simply sent to STDERR?
Thanks,
David
David Wheeler via RT <bug-Net-SSH2 [...] rt.cpan.org>
From:
Rafael Kitover <rkitover [...] cpan.org>
Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and
let me know if it works for you.
You need a debug build of libssh2 of course.
On Mon, Jul 12, 2010 at 11:29:04PM -0400, David Wheeler via RT wrote:
Show quoted text
> Mon Jul 12 23:29:03 2010: Request 59292 was acted upon.
> Transaction: Ticket created by david@kineticode.com
> Queue: Net-SSH2
> Subject: Add trace Parameter and/or Accessor
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: david@kineticode.com
> Status: new
> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=59292 >
>
>
> Dear Net::SSH2 maintainers,
>
> It would be handy to be able to enable libssh2 trace output by adding a parameter to new(), or an accessor. The necessity of uncommenting line 546 and rebuilding is a bit annoying. Could a trace parameter and/or accessor be added? Is the error output simply sent to STDERR?
>
> Thanks,
>
> David
Tue Jul 13 04:02:43 2010The RT System itself - Status changed from 'new' to 'open'
On Jul 13, 2010, at 1:02 AM, rkitover@cpan.org via RT wrote:
Show quoted text
> Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and
> let me know if it works for you.
>
> You need a debug build of libssh2 of course.
Oh, didn't realize it required a debug build of libssh2. Thanks for the quick work!
Best,
David
On Tue, 13 Jul 2010, David E. Wheeler wrote:
Show quoted text
>> Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and let
>> me know if it works for you.
>>
>> You need a debug build of libssh2 of course.
>
> Oh, didn't realize it required a debug build of libssh2. Thanks for the
> quick work!
libssh2_trace() is _present_ in all builds but it doesn't actually do anything
unless you have a debug build...
--
/ daniel.haxx.se
Sat May 07 05:09:55 2011rkitover [...] cpan.org - Correspondence added
Closing this ticket again, as ->new(trace => -1) now works correctly and the trace constant
group has been added in 0.34.
Sat May 07 05:09:56 2011rkitover [...] cpan.org - Status changed from 'open' to 'resolved'