Where can we find logs for Azure Functions (Java- for example) when we run it locally ? It is not inside the target folder. Please guide. Thanks.
Add "fileLoggingMode": "always" to the logging configuration in your host.json file:
{
"logging": {
"logLevel": {
"default": "Trace"
},
"fileLoggingMode": "always"
}
}
Functions Core Tools will then write log files to:
%TMP%\LogFiles\Application\Functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With