-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
How to enable parse-server logs ? #626
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
Comments
Have you tried enabling verbose using |
I think their is a /log endpoint you can call, I cant seem to find the docs on it right now though.. |
We have a |
We don't track yet the status for push notifications, see #566. |
Thanks for your answers guys! @flovilmart then why is it written :
On this page ? |
It may spew some logs as push is being handled, but it's not storing the push status in the database is what he means. Going to close this one, if there are any outstanding issues, please open a new issue. Thanks. |
This issue is closed but ranks highly in Google and doesn't actually explain how to see logs in a parse-server environment. Can you please add a link or example? |
I second the motion - "This issue is closed but ranks highly in Google and doesn't actually explain how to see logs in a parse-server environment. Can you please add a link or example?" |
In Heroku you can set a config var "VERBOSE" to true. In index.js you should also be able to set: |
can anyone go into this with a little greater depth? I am currently trying to access the parse server logs. I am using Heroku and mLabs. I have gone into Heroku and set a new config var "VERBOSE" to "true". My git server does not have a folder named logs and i cannot for the life of me find out where these logs would be. Thank you in advance. Is my setting of the config vars done correctly? If so, where are these logs located and how can i access them? |
On the Heroku Dashboard, on the top right of the main screen for your app there should be an icon with 3 vertical dots. Under there should be a view logs menu item. Lately it seems my logs are always VERBOSE though regardless of what I set. |
OK, for those coming here via Google search looking for logging. I had used the line from @rsweny I just figured out that if you set the environment variable 'VERBOSE' to anything it will log everything. I commented out that line so that variable is undefined and I'm back down to minimal logging + whatever I log to the console from cloud code. Hope that helps, I think figuring out logging using their adapter and then figuring how to effectively monitor my app in AWS will be next on my list to do. EDIT:
A better approach then would be to explicitly set verbosity in the ParseServer init:
|
@rsweny 's answer helped! Since Heroku's UI changed, I'll add quick walkthrough:
|
As described in the tutorial to send push notifications, I am trying to log the status of my notifications sent to my parse-server. In this tutorial, it is written :
Until now, here is my configuration :
How to enable logs on my Parse Server to get the status of my notifications ?
Thanks!
The text was updated successfully, but these errors were encountered: