NLog.Extensions.AzureTableStorage icon indicating copy to clipboard operation
NLog.Extensions.AzureTableStorage copied to clipboard

Remove logger name in partition key through configuration

Open pvivera opened this issue 8 years ago • 0 comments

Like the logger name is being used as partition key when there are many entries in the log it's almost impossible to retrieve or query them.

The prefix already implemented in the project is useful but it not enough when you're logging multiple loggers across the application.

A good solution is to remove the logger name and use the date prefix based on the date format, per example create a new partition key per day.

We can able to remove the logger name through a flag in the target configuration. It going to be removed only if the prefix is defined.

pvivera avatar Feb 01 '18 02:02 pvivera