From e3ff37a2e6dc9cca7f8076bc79b7ed0f8daa15bd Mon Sep 17 00:00:00 2001 From: jforbes Date: Tue, 12 Dec 2017 15:45:46 -0500 Subject: [PATCH] rename logging label --- src/util/logger.js | 2 +- src/videojs-http-streaming.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/util/logger.js b/src/util/logger.js index 45028ec9e..b5a6d86ec 100644 --- a/src/util/logger.js +++ b/src/util/logger.js @@ -2,7 +2,7 @@ import videojs from 'video.js'; const logger = (source) => { if (videojs.log.debug) { - return videojs.log.debug.bind(videojs, '[VHS]', `${source} >`); + return videojs.log.debug.bind(videojs, 'VHS:', `${source} >`); } return function() {}; diff --git a/src/videojs-http-streaming.js b/src/videojs-http-streaming.js index 677c761f2..f29446f2e 100644 --- a/src/videojs-http-streaming.js +++ b/src/videojs-http-streaming.js @@ -536,8 +536,7 @@ class HlsHandler extends Component { timestamp: Date.now(), currentSource: this.tech_.currentSource_, master: this.playlists.master, - currentTech: this.tech_.name_, - history: videojs.log.history().filter(([_, type]) => type === '[VHS]') + currentTech: this.tech_.name_ }; } }