updated logging

This commit is contained in:
bill bittner 2017-12-12 08:10:14 -08:00
parent 43d8402643
commit 97eae1a183
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ module.exports = {
// publish the file
return lbryApi.publishClaim(publishParams)
.then(tx => {
logger.info(`Successfully published ${fileName}`, tx);
logger.info(`Successfully published ${publishParams.name} ${fileName}`, tx);
publishResults = tx;
// get the channel information
if (publishParams.channel_name) {

View file

@ -16,7 +16,7 @@ function determineFileExtensionFromContentType (contentType) {
case 'video/mp4':
return 'mp4';
default:
logger.info('setting unknown file type as file extension jpg');
logger.debug('setting unknown file type as file extension jpg');
return 'jpg';
}
};
@ -33,7 +33,7 @@ function determineContentTypeFromFileExtension (fileExtension) {
case 'mp4':
return 'video/mp4';
default:
logger.info('setting unknown file type as type image/jpg');
logger.debug('setting unknown file type as type image/jpg');
return 'image/jpg';
}
};