Add tracing of low-level JSch log messages
commit2a6168830888138266c0e199622abd5ddf2cd236
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 14 May 2018 21:32:01 +0000 (14 23:32 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 28 May 2018 22:54:08 +0000 (29 00:54 +0200)
tree5bac762795dcbb748bf979d52996553de919ebd6
parentc4a3e2b6f8c03bc4d980aac8c616218b457a870f
Add tracing of low-level JSch log messages

Currently there is no way in Eclipse to get hold of the log messages
JSch produces. But those might be useful to analyze connection
problems. So add debug logging via the OSGi debug trace mechanism;
a user can switch this on by enabling tracing in the preferences
(Preferences->General->Tracing) and then setting the flags for
org.eclipse.egit.core/debug and org.eclipse.egit.core/debug/core/jsch
to true.

Change-Id: I4c9befbca0330671050fae60efafd72d9925825e
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.core/.options
org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseSshSessionFactory.java
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/trace/GitTraceLocation.java
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/trace/JSchLogger.java [new file with mode: 0644]