Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot Disable Logging - directory is always created #6307
Comments
|
I have gotten it implemented however the issue remains that the default logging of parse still creates a log dir
This is causing issues in my GAE environment as writing directories is not allowed, I have also specified in |
|
Strange behaviour, even when specifying an alternative logs directory name (other than null) parse still creates a logs folder as well as the other custom folder |
|
After some source code review Ive found a work around by setting Seems
|
|
+1 I'm using the following configuration: const api = new ParseServer({
databaseURI: mongoDSN,
cloud: './cloud/main.js',
allowClientClassCreation: false,
appId,
masterKey,
logsFolder: null,
verbose: false,
silent: false,
...Parse Server version: 3.10.0 |
|
Have you tried with |
|
Hi @davimacedo ! If I set Thanks |
|
Got it. This is something that can be really improved. Do you want to tackle this one? |
|
I spent a lot of time trying to figure out where the problem was but honestly I couldn't find it. If you can give me a clue maybe I could tackle this! |
|
If you set logsFolder to any other folder than not the default, does it work? I guess this option is only working through env vars. |
|
Yes! If I set logsFolder to test, then test folder is created. The problem
is with the null value! Always creates logs folder and start to log into
the files.
|
|
Although the server doesn't create the folder. Winston creates it internally I believe |
|
I thought the same thing but the question is Why if you set PARSE_SERVER_LOGS_FOLDER env var to null the folder is not created? |


Im trying to integrate the default winston logger with the Google Cloud stack driver adapter but cant figure out how to integrate it
Do you guys have any pointers on this library ?
https://github.com/googleapis/nodejs-logging-winston
trying this at the moment but its not working
Similar issues:
#2501
#2550
#1904