mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
[AETHER-1550] Add additional trace logs in P4RT SB
log:set TRACE org.onosproject.p4runtime.ctl.client.WriteRequestImpl to have all the prints we need Change-Id: Ie46e36145769ffc7a91485ee3f3791a94cf8b8a9
This commit is contained in:
parent
3c3b163ae1
commit
219dd8fedf
@ -238,6 +238,10 @@ final class WriteRequestImpl implements P4RuntimeWriteClient.WriteRequest {
|
||||
.build();
|
||||
requestMsg.addUpdates(updateMsg);
|
||||
responseBuilder.addPendingResponse(handle, piEntity, updateType);
|
||||
if (log.isTraceEnabled()) {
|
||||
log.trace("Adding {} update to write request for {}: {}", updateType, handle.deviceId(),
|
||||
piEntity == null ? handle : piEntity);
|
||||
}
|
||||
} catch (CodecException e) {
|
||||
responseBuilder.addFailedResponse(
|
||||
handle, piEntity, updateType, e.getMessage(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user