Skip to content

unable to see logs after upgrading dashboard to 1.0.9 #281

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

Closed
AvnerHilu opened this issue Apr 20, 2016 · 3 comments
Closed

unable to see logs after upgrading dashboard to 1.0.9 #281

AvnerHilu opened this issue Apr 20, 2016 · 3 comments

Comments

@AvnerHilu
Copy link

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [V] You're running version >=2.1.4 of Parse Server.
  • [V] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Ubuntu server
parse server 2.2.7

Steps to reproduce

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

After upgrading the dashboard to the latest 1.0.9
when trying to access to the logs (from dashboard) I get the following message:

No logs in the last 30 days
When you start using Cloud Code, your logs will show up here.

thought there should be logs available .

Thx,
Avner

@drew-gross
Copy link
Contributor

Is this for parse.com or Parse Server? Also, can you check to see if anything was actually logged by your Parse Server? Logging in Parse Server is handled differently than parse.com, right now you pretty much need to enable verbose mode to see any logs.

@AvnerHilu
Copy link
Author

Hi,
I have enabled parse-server 2.2.7 with environment variable VERBOSE=1
and now i can see the logs from the installed dashboard.
Though is this configuration suitable for production server?
Instead of configuring the VERBOSE in an environment variable can i configure it in code? maybe in Parse.initialize?
thx,
Avner

@drew-gross
Copy link
Contributor

Yes, you can use the "verbose" option in your parse server configuration. As for running in production, that will depend on your server load and exact use case. Logs will rotate daily by default so if your app isn't massive then running in production should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants