-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to see server logs with pm2? #1003
Comments
This will depend on your provider, your pm2 configuration and other parameters. |
create a file named env.json in your parse node directory....
now run with : source: Unitech/pm2#83 regards |
This was referenced Jul 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have installed parse-server locally on my Mac with MongoDB hosted on mLab for testing purpose.
My package.json is as follow:
With "VERBOSE=1" and server launched with "node start index.js", I see all the queries in my terminal.
Now, if I launch the server with pm2 "pm2 start index.js -i 1 --name ParseServer" and then perform "pm2 logs", I don't see my queries.
So my question is, how can I see my queries when I use parse-server with pm2?
Thanks
The text was updated successfully, but these errors were encountered: