NLog.Extensions.AzureTableStorage
NLog.Extensions.AzureTableStorage copied to clipboard
Remove logger name in partition key through configuration
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.