Debugging or Verbose logging route via ssh SSH2 Routing Assertion output logs
search cancel

Debugging or Verbose logging route via ssh SSH2 Routing Assertion output logs

book

Article ID: 196283

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

How can I add more details in debugging a sftp ssh2 routing assertion connection?

 

Environment

API Gateway 10.x, 11.x

 

Resolution

To enable the JSch warning and error logs.

Which will show up and displaying full stack tracing or any other exceptions.

1)Open Policy Manager

Add a cluster wide property, "log.levels" with a value, "com.jcraft.jsch.JSch.level = INFO" (the deeper the level the more details, i.e. INFO, FINE, FINER, FINEST.

2) Add a system property "com.l7tech.logging.debug" into the configuration file system.properties with a value "true" (e.g., com.l7tech.logging.debug=true).

3) Restart the gateway services.