Forum Discussion
Function apps - where do log messages go?
Probably a basic question, but in the sample PowerShell 'hello world' code that you get when you create a new function, there is this line:
Write-Host "PowerShell timer trigger function ran! TIME: $currentUTCtime"This information is written to the Information Log that needs to be configured for the function app.
If you are debugging using the Azure Function Core Tools utility, it will simply log this to the console.
See this link for the different types of logging levels and PowerShell commands.You can then monitor the logs as outlined here.
Hope this helps!
- Johan
1 Reply
- sayedimac
Microsoft
This information is written to the Information Log that needs to be configured for the function app.
If you are debugging using the Azure Function Core Tools utility, it will simply log this to the console.
See this link for the different types of logging levels and PowerShell commands.You can then monitor the logs as outlined here.
Hope this helps!
- Johan