I want to log all activities on my express server on console as well as in log file.
var log = log4js.getLogger(); log.info(), log.error()....etc works fine
Also if I connect it with express like app.use(log4js.connectLogger(log, { level: 'auto' })); works as well..
I am having another log appender i.e. of type file in config file & I know how to load appenders from config file.
But I am unable to use both file & console appenders simultaneously with express.