Netlify CLI


logs

Stream logs from your site

Usage

netlify logs

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • debug (boolean) - Print debugging information
Subcommanddescription
logs:deploy(Beta) Stream the logs of deploys currently being built to the console
logs:function(Beta) Stream netlify function logs to the console

Examples

netlify logs:deploy
netlify logs:function
netlify logs:function my-function

logs:deploy

(Beta) Stream the logs of deploys currently being built to the console

Usage

netlify logs:deploy

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • debug (boolean) - Print debugging information

logs:function

(Beta) Stream netlify function logs to the console

Usage

netlify logs:function

Arguments

  • functionName - Name of the function to stream logs for

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • level (string) - Log levels to stream. Choices are: trace, debug, info, warn, error, fatal
  • debug (boolean) - Print debugging information

Examples

netlify logs:function
netlify logs:function my-function
netlify logs:function my-function -l info warn