Removed callback to write, as it is not needed.

This commit is contained in:
John Engler 2014-04-05 16:14:56 -07:00
parent 3ec9811b5e
commit 8ca092cdb9

View File

@ -62,12 +62,7 @@ function fileAppender (file, layout, logSize, numBackups) {
openFiles.push(logFile); openFiles.push(logFile);
return function(loggingEvent) { return function(loggingEvent) {
logFile.write(layout(loggingEvent) + eol, "utf8", logFile.write(layout(loggingEvent) + eol, "utf8");
function() {
// just here to keep the event loop
// open - doesn't work.
return;
});
}; };
} }