Skip to content

Consider - Expanding on Semantic Logging #653

@chassq

Description

@chassq

Right now it seems logging "in the box" is limited to writing a string message. Sure you can write your own logging extension and add it (e.g. logger.MyLog() in Program.cs). However when looking at what that takes (see https://github.com/aspnet/Logging/tree/dev/src/Microsoft.Extensions.Logging.AzureAppServices) with all the option monitoring and batch logging it is kind of involved and time consuming. And you are subject to framework changes by MS.

It would be great to add into the "in the box" logging framework an semantic logger that defines a log message object (much like the Blob logger does today) and hooks up to a structured data persistence store (e.g. CosmosDB or DynamoDB). For example both of these stores have REST APIs in common and document storage and query capabilities that can hook into other cloud and on prem services to maintain, monitor and parse logs in an intelligent way (e.g. Cold Storage, AI, Search). Yes you can do this with just string messages but a more structured schema for log data would be really great!

Thanks for listening!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions