From 2a1324294c3ba040e9d38f0760f96b4f28713959 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 20 Aug 2018 12:27:52 -0700 Subject: [PATCH] updated delete file logging --- config/slackConfig.json | 8 ++++---- server/controllers/api/claim/publish/deleteFile.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/slackConfig.json b/config/slackConfig.json index 5bbf8072..2deddd24 100644 --- a/config/slackConfig.json +++ b/config/slackConfig.json @@ -1,5 +1,5 @@ { - "slackWebHook": false, - "slackErrorChannel": false, - "slackInfoChannel": false -} \ No newline at end of file + "slackWebHook": false, // string: url for your webhook + "slackErrorChannel": false, // e.g. `#speech-error` + "slackInfoChannel": false // e.g. `#speech-info` +} diff --git a/server/controllers/api/claim/publish/deleteFile.js b/server/controllers/api/claim/publish/deleteFile.js index 2381f001..2d9fe69f 100644 --- a/server/controllers/api/claim/publish/deleteFile.js +++ b/server/controllers/api/claim/publish/deleteFile.js @@ -6,7 +6,7 @@ const deleteFile = (filePath) => { if (err) { return logger.error(`error deleting temporary file ${filePath}`); } - logger.debug(`successfully deleted ${filePath}`); + logger.info(`successfully deleted ${filePath}`); }); };