HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Azure Function App logs without Application Insights instance?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
withoutlogsapplicationappinsightsfunctioninstanceazure

Problem

I'm a bit confused about my options for Function App logging on Azure. Is Application Insights the only mechanism available to observe the output logged through the function application's context? In other words, can logs be tailed or log files be temporarily observed anywhere without draining to an instance of Application Insights?

Solution

You can also configure Azure Functions with NLog:

https://github.com/NLog/NLog.Extensions.Logging/wiki/NLog-cloud-logging-with-Azure-function-or-AWS-lambda

Here you can find a sample that shows an Azure Function with NLog and GrayLog

Logging API Requests and Responses to GrayLog over Azure API Management using Azure Functions

nlog.config:













Context

StackExchange DevOps Q#16079, answer score: 1

Revisions (0)

No revisions yet.