diff --git a/player.js b/player.js index 2087b08..be56e4b 100644 --- a/player.js +++ b/player.js @@ -33,11 +33,11 @@ process.on('exit', exitHandler.bind(null)); process.on('SIGINT', exitHandler.bind(null, {exit:true})); tag_reader.on('error', function(err) { - console.log(`[tag_reader:error] ${err}`); + console.log(`[tag_reader] error=${err}`); }); player.on('error', function(err) { - console.log(`[player:error] ${err}`); + console.log(`[mpg321] error=${err}`); }); tag_reader.on('close', function(code, signal) { @@ -109,7 +109,7 @@ player.stderr.on('data', (data) => { if (String(data).substr(0, 3) === "@F ") { return; } - console.log(`[player:stderr] ${data}`); + console.log(`[mpg321] stderr ${data}`); }); app.use(logger('dev'))