Merge pull request #580 from lbryio/debug-publish-deletes

updated delete file logging
This commit is contained in:
Bill Bittner 2018-08-20 12:31:30 -07:00 committed by GitHub
commit a6cf17c22d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{
"slackWebHook": false,
"slackErrorChannel": false,
"slackInfoChannel": false
}
"slackWebHook": false, // string: url for your webhook
"slackErrorChannel": false, // e.g. `#speech-error`
"slackInfoChannel": false // e.g. `#speech-info`
}

View file

@ -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}`);
});
};