Re: [JSch-users] Protected constructor in ChannelSftp
Status: Alpha
Brought to you by:
ymnk
From: Dmitry T. <tro...@gm...> - 2012-07-21 09:10:44
|
Hi! Sorry for reasking, but maybe my question was missed. We(Jetbrains) use your library for our remote access components, but we can't upgrade it, because of the private constructor in the class ChannelSftp. We override that class to make special logging, and now we can't because package accessible constructor became private. What can you advise: log connection activity some other way then subclassing ChannelSftp, or we can hope to get the API of ChannelSftp reverted to it's previous state? -- Thanks, Dmitry Trofimov, PyCharm developer at JetBrains On Thu, May 24, 2012 at 12:18 PM, Dmitry Trofimov <tro...@gm... > wrote: > Hi, > > we are using JSch library 1.44 and tried to update it 1.48, but failed > because in purpose of logging we decorate ChannelSftp class extending it > and now in version 1.48 it lacks public constructor. > > So the question is: what is the correct way to log all ChannelSftp > activity? > Or please provide the possibility to override it. > > Thanks, > Dmitry Trofimov > > |