shopify app logs
Stream detailed logs for your Shopify app.
Opens a real-time stream of detailed app logs from the selected app and store.
Use the --source argument to limit output to a particular log source, such as a specific Shopify Function handle. Use the shopify app logs sources command to view a list of sources.
Use the --status argument to filter on status, either success or failure.
shopify app logs --status=success --source=extension.discount-functionUsage
shopify app logs [flags]Summary
Stream detailed logs for your Shopify app.
Flags
--client-id <value>string— The Client ID of your app. optional Environment:SHOPIFY_FLAG_CLIENT_ID.--no-color— Disable color output. optional Environment:SHOPIFY_FLAG_NO_COLOR.--path <value>string— The path to your app directory. optional Environment:SHOPIFY_FLAG_PATH.--reset— Reset all your settings. optional Environment:SHOPIFY_FLAG_RESET.--source <value>string— Filters output to the specified log source. optional Environment:SHOPIFY_FLAG_SOURCE.--status <value>string— Filters output to the specified status (success or failure). optional Environment:SHOPIFY_FLAG_STATUS.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-c, --config <value>string— The name of the app configuration. optional Environment:SHOPIFY_FLAG_APP_CONFIG.-j, --json— Output the result as JSON. Automatically disables color output. optional Environment:SHOPIFY_FLAG_JSON.-s, --store <value>string— Store URL. Must be an existing development or Shopify Plus sandbox store. optional Environment:SHOPIFY_FLAG_STORE.