move tracer log into tmp dir

This commit is contained in:
spalger
2017-06-14 20:44:46 -07:00
parent a6f4d549bd
commit a9aa612f75
4 changed files with 2 additions and 4 deletions

View File

@ -76,7 +76,7 @@ module.exports = {
if (logConfig && logConfig.type === 'tracer') {
try {
fs.unlinkSync(fromRoot('elasticsearch-tracer.log'));
fs.unlinkSync(fromRoot('tmp/tracer.log'));
} catch (error) {
if (error.code !== 'ENOENT') {
throw error;