-
Notifications
You must be signed in to change notification settings - Fork 144
Jsch Logging
Matthias Wiedemann edited this page Jul 15, 2024
·
1 revision
The fork includes a few built-in loggers for various frameworks, see JplLogger (requires Java9+), JulLogger, Log4j2Logger& Slf4jLogger.
Also there is an example, how to implement a fully custom logger in Logger.java
Any of the above loggers can be enabled with the
-
JSch.setLogger()
, which sets the global logger -
JSch.setInstanceLogger()
, which sets the logger of the current Jsch instance, or Session.setLogger()
methods.