Gareth Jones
Gareth Jones
Thanks for this, now that version 2.x is out I'll look at merging this.
You're going to need to give me a bit more to go on here. What version of log4js and node are you using? Can you give me a snippet of...
I was just following this [document on the PM2 website](http://pm2.keymetrics.io/docs/usage/environment/#specific-environment-variables). I check for a process with instance ID 0 because I only want the appenders to output on one process...
@hangaoke1 yes, you are correct. The way to fix this is to namespace the messages from each application, so that messages from the "wrong" applications can be ignored.
The multiFile appender will only close file handles when you call `log4js.shutdown`, there's no way to close them individually. So in a long-running application you could end up with many...
It's not really possible to make the contents of the log file a valid JSON array, since log4js doesn't know when to close the array. It used to be kind...
Looks like you're trying to use the file appender in a browser? That won't work.
The `logLevelFilter` allows log messages of a level equal to or above the `level` parameter. So `warn` being logged is correct. [Docs for logLevelFilter](https://log4js-node.github.io/log4js-node/logLevelFilter.html) You say that nothing gets logged...
I think this could best be fixed by adding a `getAppender()` function to the log4js API (this was proposed in one of the other issues as well). That way the...
Do the log files exist, but are empty? Or are the log files not there at all?