From a1163d4a15183a1f1ea6d1e2472a713cb70e74c4 Mon Sep 17 00:00:00 2001 From: Tavis Rudd Date: Thu, 10 Aug 2017 20:01:39 -0700 Subject: [PATCH] decrease the log level in getReliableTime to debug from info --- src/getReliableTime.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getReliableTime.ts b/src/getReliableTime.ts index 6354bf8d..e1f697f0 100644 --- a/src/getReliableTime.ts +++ b/src/getReliableTime.ts @@ -12,10 +12,10 @@ const getNetworkTime = Promise.promisify(_getNetworkTime); const getReliableTime = (): Promise => getNetworkTime("pool.ntp.org", 123) .catch((e) => { - logger.info('error in getNetworkTime. Retrying', e=e) + logger.debug('error in getNetworkTime. Retrying', e=e) return getNetworkTime("pool.ntp.org", 123) }).catch((e) => { - logger.info('error in getNetworkTime. Falling back to new Date()', e=e) + logger.debug('error in getNetworkTime. Falling back to new Date()', e=e) return new Date(); });