menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team

Where are the error logs on zeit?

February 3, 2019 at 7:46am

Where are the error logs on zeit?

February 3, 2019 at 7:46am

I tried https://github.com/zeit/micro/tree/master/examples/external-api-call locally, changing the api.example.com url to a working url and it is working. When I go on localhost:3000, the script return the correct result. If I deploy with now, then it looks like successful but when I go on the generated now url, the generated site times out (the site can't be reached).

What am I missing? Where are the zeit error log so I can understand what is happening?


February 3, 2019 at 8:15am

There are two ways I know of to see the logs.

  1. Go to your now project through the dashboard (https://zeit.co/dashboard) or projects (https://zeit.co/dashboard/projects) and click the linked deployment that leads you to the logs of the deployment.
  2. Run the now logs command if you are using the CLI - now logs projectname-randomhash.now.sh
Edited
  • reply
  • like

Thanks Viktor. It helped me to debug. Basically the micro example I mentioned can not work with just "now" because it needs some res.end() and res.send() or other.

like-fill
1
  • reply
  • like

February 4, 2019 at 12:13am

Thanks Paulo

  • reply
  • like

November 4, 2019 at 11:39am

Sometimes clicking the name of a deployment links to the deployment itself, sometimes to a subpage overview, sometimes to logs - so it is not clear where I am going, or how to get back there. It is beginning to really annoy me how obfuscated it is navigating the dashboard - this "clean UX" aesthetic betrays not much thought put into actual user flow.

  • reply
  • like
  • I still haven't been able to find the logs.
  • reply
  • like
  • I still haven't been able to find the logs.

You can always use /_logs directly. I will relay your feedback.

  • reply
  • like

Sometimes clicking the name of a deployment links to the deployment itself, sometimes to a subpage overview, sometimes to logs - so it is not clear where I am going, or how to get back there. It is beginning to really annoy me how obfuscated it is navigating the dashboard - this "clean UX" aesthetic betrays not much thought put into actual user flow.

Just got word back from the team and they are working on it as we speak. You should see it live in a few hours.

  • reply
  • like
private
This channel has been archived