Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix: pass options from multiprocess appender to inner appender

  • Loading branch information...
commit 8e53c6213e477bf9f4330ab167bfc27df4771eab 1 parent a15a628
@imkira imkira authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/appenders/multiprocess.js
View
4 lib/appenders/multiprocess.js
@@ -115,11 +115,11 @@ function createAppender(config) {
}
}
-function configure(config) {
+function configure(config, options) {
var actualAppender;
if (config.appender && config.mode === 'master') {
log4js.loadAppender(config.appender.type);
- actualAppender = log4js.appenderMakers[config.appender.type](config.appender);
+ actualAppender = log4js.appenderMakers[config.appender.type](config.appender, options);
config.actualAppender = actualAppender;
}
return createAppender(config);
Please sign in to comment.
Something went wrong with that request. Please try again.