Skip to content

Commit

Permalink
Moved PDU logging to separate debug statement in RsuDepositor class
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson committed May 21, 2024
1 parent d920246 commit a5c2730
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,16 @@ public void run() {
logger.error("Error on RSU SNMP deposit to {}: message already exists at index {}.", curRsu.getRsuTarget(),
destIndex);
} else {
// Misc error, provide context
// Misc error
logger.error("Error on RSU SNMP deposit to {}: {}", curRsu.getRsuTarget(), "Error code '"
+ rsuResponse.getResponse().getErrorStatus() + "' '" + rsuResponse.getResponse().getErrorStatusText()
+ "' Request PDU: " + rsuResponse.getRequest() + " Response PDU: " + rsuResponse.getResponse());
+ rsuResponse.getResponse().getErrorStatus() + "' '" + rsuResponse.getResponse().getErrorStatusText() + "'");
// Log the PDUs involved in the failed deposit
logger.debug("PDUs involved in failed RSU SNMP deposit to " + curRsu.getRsuTarget()
+ " => Request PDU: " + rsuResponse.getRequest() + " Response PDU: " + rsuResponse.getResponse());
}

}
logger.info("TIM deposit response {}", responseList);
logger.info("TIM deposit response {}", responseList);
}
Thread.sleep(100);
}
Expand Down

0 comments on commit a5c2730

Please sign in to comment.