change rotation debug to false

This commit is contained in:
Chad Walker 2013-01-28 18:40:31 -08:00
parent 0a39334d3c
commit a414463ae2

View file

@ -992,7 +992,7 @@ RotatingFileStream.prototype._setupNextRot = function () {
} }
RotatingFileStream.prototype._nextRotTime = function _nextRotTime(first) { RotatingFileStream.prototype._nextRotTime = function _nextRotTime(first) {
var DEBUG = true; var DEBUG = false;
if (DEBUG) console.log('-- _nextRotTime: %s%s', this.periodNum, this.periodScope); if (DEBUG) console.log('-- _nextRotTime: %s%s', this.periodNum, this.periodScope);
var d = new Date(); var d = new Date();
@ -1071,7 +1071,7 @@ RotatingFileStream.prototype._nextRotTime = function _nextRotTime(first) {
RotatingFileStream.prototype.rotate = function rotate() { RotatingFileStream.prototype.rotate = function rotate() {
// XXX What about shutdown? // XXX What about shutdown?
var self = this; var self = this;
var DEBUG = true; var DEBUG = false;
if (DEBUG) console.log('-- [%s] rotating %s', new Date(), self.path); if (DEBUG) console.log('-- [%s] rotating %s', new Date(), self.path);
if (self.rotating) { if (self.rotating) {