Removed callback to write, as it is not needed.
This commit is contained in:
parent
3ec9811b5e
commit
8ca092cdb9
@ -62,12 +62,7 @@ function fileAppender (file, layout, logSize, numBackups) {
|
||||
openFiles.push(logFile);
|
||||
|
||||
return function(loggingEvent) {
|
||||
logFile.write(layout(loggingEvent) + eol, "utf8",
|
||||
function() {
|
||||
// just here to keep the event loop
|
||||
// open - doesn't work.
|
||||
return;
|
||||
});
|
||||
logFile.write(layout(loggingEvent) + eol, "utf8");
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user