If you have already defined an absolute path for one of the FileAppenders in the configuration file, you could add a "absolute": true to the particular FileAppender to override the cwd option passed. Here is an example configuration file:
#### my_log4js_configuration.json ####
{
```json
#### my_log4js_configuration.json ####
{
"appenders": [
{
"type": "file",
@ -126,8 +126,8 @@ If you have already defined an absolute path for one of the FileAppenders in the
"category": "absolute-logger"
}
]
}
}
```
Documentation for most of the core appenders can be found on the [wiki](log4js-node/wiki/Appenders), otherwise take a look at the tests and the examples.