diff --git a/lib/appenders/multiprocess.js b/lib/appenders/multiprocess.js index 9ab7bc9..a698097 100644 --- a/lib/appenders/multiprocess.js +++ b/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);