Permalink
Browse files

Merge pull request #116 from imkira/master

Pass options from multiprocess appender to inner appender
  • Loading branch information...
2 parents a15a628 + 8e53c62 commit 50eefcc70196fc05b235bb516aeaea631362f354 Gareth Jones committed Feb 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 50eefcc

Please sign in to comment.