Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
No Bug: Move response and request Rewards logs to debug level. (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub authored Sep 5, 2019
1 parent d09bf1b commit a9dd80a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ struct RewardsHelper {
let logOutput = extraInfo.isEmpty ? data : "\(extraInfo) \(data)"

switch logLevel {
case .logDebug: log.debug(logOutput)
// Response and request log levels are ledger-specific.
case .logInfo, .logResponse, .logRequest: log.info(logOutput)
case .logDebug, .logResponse, .logRequest: log.debug(logOutput)
case .logInfo: log.info(logOutput)
case .logWarning: log.warning(logOutput)
case .logError: log.error(logOutput)
@unknown default:
Expand Down

0 comments on commit a9dd80a

Please sign in to comment.