Forum Discussion

DarrenMArdex's avatar
DarrenMArdex
Copper Contributor
Oct 12, 2022
Solved

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! TIM...
  • sayedimac's avatar
    Oct 12, 2022

    DarrenMArdex 

     

    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

Resources