Additional logging to debug a3270
This commit is contained in:
@@ -946,7 +946,7 @@ public class DataStreamProcessor {
|
||||
if ((i + 1) % 32 == 0)
|
||||
sb.append("\n ");
|
||||
}
|
||||
log.info("Query reply (" + qr.length + " bytes):\n " + sb.toString().trim());
|
||||
log.warning(">>> SENDING Query Reply (" + qr.length + " bytes):\n " + sb.toString().trim());
|
||||
if (outputSender != null) {
|
||||
outputSender.send3270Data(qr);
|
||||
}
|
||||
@@ -961,7 +961,7 @@ public class DataStreamProcessor {
|
||||
if ((i + 1) % 32 == 0)
|
||||
sb.append("\n ");
|
||||
}
|
||||
log.info("Requested query reply (" + qr.length + " bytes):\n " + sb.toString().trim());
|
||||
log.warning(">>> SENDING Requested Query Reply (" + qr.length + " bytes):\n " + sb.toString().trim());
|
||||
if (outputSender != null) {
|
||||
outputSender.send3270Data(qr);
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ public class TelnetFSM {
|
||||
out.write(IAC);
|
||||
out.write(SE);
|
||||
sendBytes(out.toByteArray());
|
||||
log.info("SENT SB TTYPE IS " + termType + " SE");
|
||||
log.warning(">>> SENT SB TTYPE IS " + termType + " SE");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -475,7 +475,7 @@ public class TelnetFSM {
|
||||
out.write(IAC);
|
||||
out.write(SE);
|
||||
sendBytes(out.toByteArray());
|
||||
log.info("SENT SB TN3270E DEVICE-TYPE REQUEST " + termType +
|
||||
log.warning(">>> SENT SB TN3270E DEVICE-TYPE REQUEST " + termType +
|
||||
(config.getLuName() != null ? " CONNECT " + config.getLuName() : "") + " SE");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user