From 7681d83b5fb47df1d4e56b464ba35e0a12bed42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gra=C3=A7a?= Date: Tue, 19 Mar 2013 16:08:36 +0000 Subject: [PATCH] Allow omitting period in rotating-file streams --- lib/bunyan.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/bunyan.js b/lib/bunyan.js index dcd1f90..d85eb56 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -918,7 +918,6 @@ function safeCycles() { if (mv) { function RotatingFileStream(options) { - assert.ok(options.period, 'need a period'); this.path = options.path; this.stream = fs.createWriteStream(this.path, {flags: 'a', encoding: 'utf8'});