com.waveset.adapter.ScriptedConnection
Class SSHConnectionLog
java.lang.Object
com.mindbright.util.Log
com.waveset.adapter.ScriptedConnection.SSHConnectionLog
- public class SSHConnectionLog
- extends com.mindbright.util.Log
Implementation of ScriptedConnection supporting a ssh connection
to a resource.
Fields inherited from class com.mindbright.util.Log |
LEVEL_ALERT, LEVEL_DEBUG, LEVEL_DEBUG2, LEVEL_EMERG, LEVEL_ERROR, LEVEL_INFO, LEVEL_NOTICE, LEVEL_WARNING |
Constructor Summary |
SSHConnectionLog()
The SSH log level is based on the current IDM trace level. |
Method Summary |
void |
message(int level,
java.lang.String callClass,
java.lang.String callMethod,
java.lang.String message)
|
protected long |
SSHtoIDMTraceLevel(int SSHLevel)
Converts an IDM Trace trace level to an SSH level
using a relatively arbitrary scale. |
protected int |
WStoSSHTraceLevel(int IDMLevel)
Converts an SSH trace level to an IDM Trace level using a relatively
arbitrary scale. |
Methods inherited from class com.mindbright.util.Log |
close, debug, debug, debug2, debug2, debug2, error, info, message, notice, setLevel, setLogOutputStream, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
trace
protected static final Trace trace
_currentLevel
protected int _currentLevel
SSHConnectionLog
public SSHConnectionLog()
- The SSH log level is based on the current IDM trace level.
message
public void message(int level,
java.lang.String callClass,
java.lang.String callMethod,
java.lang.String message)
WStoSSHTraceLevel
protected int WStoSSHTraceLevel(int IDMLevel)
- Converts an SSH trace level to an IDM Trace level using a relatively
arbitrary scale.
SSHtoIDMTraceLevel
protected long SSHtoIDMTraceLevel(int SSHLevel)
- Converts an IDM Trace trace level to an SSH level
using a relatively arbitrary scale.