author | ms.author | ms.date | ms.topic | ms.service |
---|---|---|---|---|
ggailey777 |
glenga |
7/24/2019 |
include |
azure-functions |
Use the func azure functionapp logstream
command to start receiving streaming logs of a specific function app running in Azure, as in the following example:
func azure functionapp logstream <FunctionAppName>
Note
Built-in log streaming isn't yet enabled in Core Tools for function apps running on Linux in a Consumption plan. For these hosting plans, you instead need to use Live Metrics Stream to view the logs in near-real time.
You can view the Live Metrics Stream for your function app in a new browser window by including the --browser
option, as in the following example:
func azure functionapp logstream <FunctionAppName> --browser