From 34204d51b927d7e341b4c770ab449544dd0050db Mon Sep 17 00:00:00 2001 From: Kunal Kapadia Date: Thu, 24 Aug 2017 19:27:05 +0530 Subject: [PATCH] Set loglevel to fatal for test environment --- bin/sample.test.env | 2 +- config/test.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/sample.test.env b/bin/sample.test.env index eef3552..c48af23 100644 --- a/bin/sample.test.env +++ b/bin/sample.test.env @@ -1,7 +1,7 @@ NODE_ENV=test APP_NAME=hapi-starter-kit APP_PORT=3030 -LOG_LEVEL=debug +LOG_LEVEL=fatal OPEN_WEATHER_API_KEY=xxx NEW_RELIC_APP_NAME=hapi-starter-kit NEW_RELIC_LICENSE_KEY=xxx diff --git a/config/test.json b/config/test.json index cf005b2..762865c 100644 --- a/config/test.json +++ b/config/test.json @@ -1,4 +1,7 @@ { + "app": { + "logLevel": "fatal" + }, "openWeather": { "apiKey": "2b203abc44d124cbe6fe803dd3a9c02e" }