Hello Yordanka Getsova,
Greetings! Welcome to Microsoft Q&A Platform.
NLog is a flexible and free logging platform for various .NET platforms, including .NET standard. NLog allows you to write to several targets, such as a database, file, or console. With NLog, you can change the logging configuration on-the-fly.
Adding to above information. I understand that you are encountering intermittent logging issues with NLog for your most active blobs. Please consider checking below troubleshooting steps to resolve the issue,
1.Check that the administrator has added or modified your role permissions to the log folder and if that in case it may remove the previous permissions and NLOG will stop logging to your Blob storage.
However, try using the below setting in Nlog.Config will help you catch such silent failures
internalLogLevel="Error"
2.If you’re logging to a remote storage (like Azure Blob Storage), network issues could cause intermittent failures. Ensure that your network connection is stable and that there are no firewall rules blocking access.
3.Make sure you’re using the latest version of NLog and its extensions. Sometimes, bugs in older versions can cause issues that are resolved in newer releases.
For more details please check - https://learn.microsoft.com/en-us/azure/data-explorer/nlog-sink?tabs=windows.
Similar thread for reference - https://stackoverflow.com/questions/77419717/why-nlog-is-unable-to-store-logs-in-azure-blob-storage.
Hope this answer helps! please accept the answer else, please let us know if you have any further queries. I’m happy to assist you further.
Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.