node-activedirectory icon indicating copy to clipboard operation
node-activedirectory copied to clipboard

Logger provided in opts is not used.

Open conrad-dk opened this issue 9 years ago • 2 comments

The docs give the impression that something like this is possible:

var my_log = bunyan.createLogger({
  name: 'ActiveDirectory',
  streams: [
    { level: 'info',
      stream: process.stdout }
  ]
});

var config = { 
  url: [...]
  log: my_log,
};

However, this is ignored.

conrad-dk avatar Nov 22 '16 12:11 conrad-dk

+1

ikerib avatar May 22 '17 08:05 ikerib

This is how I used it:

logging: { 
        name: 'ActiveDirectory',
        streams: [{ 
            level: 'debug', 
            stream: process.stdout 
        }] 
 } 

MercurA avatar Mar 19 '18 12:03 MercurA