From bf5a5e817adc0dd7520ca495708354aa2e45d7cd Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Sun, 15 Apr 2018 23:03:57 +0100 Subject: [PATCH] Weather used wrong logger --- server/weather.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/weather.js b/server/weather.js index dc53813..17038d4 100644 --- a/server/weather.js +++ b/server/weather.js @@ -1,7 +1,6 @@ const Client = require('request-json'); -const { log4js } = require('./lib/logger'); -const logger = log4js.getLogger('Weather'); +const logger = require('log4js').getLogger('Weather'); const weather = require('openweather-apis'); const { reduceWeather } = require('./reducers/weather'); const request = require('request');