Update logging levels for SnmpTransportService
This commit is contained in:
parent
c1f5b39cdb
commit
a761d0b204
@ -173,7 +173,7 @@ public class SnmpTransportService implements TbTransportService {
|
|||||||
|
|
||||||
private void sendRequest(DeviceSessionContext sessionContext, List<PDU> request, RequestContext requestContext) {
|
private void sendRequest(DeviceSessionContext sessionContext, List<PDU> request, RequestContext requestContext) {
|
||||||
for (PDU pdu : request) {
|
for (PDU pdu : request) {
|
||||||
log.trace("Executing SNMP request for device {} with {} variable bindings", sessionContext.getDeviceId(), pdu.size());
|
log.debug("Executing SNMP request for device {} with {} variable bindings", sessionContext.getDeviceId(), pdu.size());
|
||||||
try {
|
try {
|
||||||
snmp.send(pdu, sessionContext.getTarget(), requestContext, sessionContext);
|
snmp.send(pdu, sessionContext.getTarget(), requestContext, sessionContext);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
@ -260,7 +260,7 @@ public class SnmpTransportService implements TbTransportService {
|
|||||||
response.add(responsePart);
|
response.add(responsePart);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.trace("All response parts are collected for request to device {}", sessionContext.getDeviceId());
|
log.debug("All response parts are collected for request to device {}", sessionContext.getDeviceId());
|
||||||
} else {
|
} else {
|
||||||
log.trace("Awaiting other response parts for request to device {}", sessionContext.getDeviceId());
|
log.trace("Awaiting other response parts for request to device {}", sessionContext.getDeviceId());
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user