Configuring Logging to Azure Table Storage

Hello,

I’ve been following the instructions in this link https://docs.umbraco.com/umbraco-cms/13.latest/fundamentals/backoffice/logviewer

I’ve created the the classes to view the Azure table. I had to create a LogEventEntity class and assign a string Data property. Building the project and browsing the Log Viewer show no records.

Initially, I didn’t create a table in the Azure storage, but an error returned requesting a table name.
I created a table (UmbracoLogs) and updated the reference in the code. The Serilog AzureTable storage sink has been installed and the appsetting.json configured with Azure creds and UmbracoLogs name.

Running the project again, logs are still written to the default Umbraco files, nothing goes into the Azure table. This is all from local dev environment.

Has anyone come across this issue before? It feels like the config needs slight tweaking or I’ve missed something completely.

thanks in advance
Efe

I assume you have done the additional steps in the documentation to persist the entries to azure?

Hello,

By additional steps do you mean installing Serilog.Sinks.AzureTableStorage and updating the appsetiing.json Serilog section with a WriteTo reference? If so, yes I have.