From a414463ae2a34f5598c4ae1c672333f4f528c711 Mon Sep 17 00:00:00 2001 From: Chad Walker Date: Mon, 28 Jan 2013 18:40:31 -0800 Subject: [PATCH] change rotation debug to false --- lib/bunyan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bunyan.js b/lib/bunyan.js index b64fdbb..17fa23c 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -992,7 +992,7 @@ RotatingFileStream.prototype._setupNextRot = function () { } RotatingFileStream.prototype._nextRotTime = function _nextRotTime(first) { - var DEBUG = true; + var DEBUG = false; if (DEBUG) console.log('-- _nextRotTime: %s%s', this.periodNum, this.periodScope); var d = new Date(); @@ -1071,7 +1071,7 @@ RotatingFileStream.prototype._nextRotTime = function _nextRotTime(first) { RotatingFileStream.prototype.rotate = function rotate() { // XXX What about shutdown? var self = this; - var DEBUG = true; + var DEBUG = false; if (DEBUG) console.log('-- [%s] rotating %s', new Date(), self.path); if (self.rotating) {