O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The logs command

Although there are not any views at the moment, you can view the logs for your function by using the fission function logs command. There are a few different options you can pass:

  • --name: This is the name of the function you wish to view the logs for, and this is always required
  • --follow: Keeps the stream open and logs are displayed in real time
  • --detail: Adds more verbose output

Using the preceding options, the command will look something like the following:

$ fission function logs --detail --follow --name hello

However, as mentioned, there is not a lot to see at the moment.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required