added messagePassThroughLayout to vows tests

This commit is contained in:
csausdev
2010-12-06 15:31:08 +08:00
committed by Gareth Jones
parent 47fcb2233d
commit 6f79694904
2 changed files with 18 additions and 0 deletions

View File

@@ -380,6 +380,7 @@ module.exports = function (fileSystem, standardOutput, configPaths) {
}
function rollThatLog (logFile, filename, numBackups) {
//doing all of this fs stuff sync, because I don't want to lose any log events.
//first close the current one.
fs.closeSync(logFile);
//roll the backups (rename file.n-1 to file.n, where n <= numBackups)