World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
I will file a bug to cms core team. thanks for bringing this to our attention
Hi Matthew
ILog has been a compatibility wrapper for ILogger for quite some time. As a quick-fix you can try using the ILogger interface directly. It should not have this bug.
I found out that a specific version of ILog.WarnFormat does not log at the correct level. This is an odd use case, but I have missed log messages due this bug.
Here's an example code snippet to reproduce:
Here is the output I found in my log file with appropriate settings to show INFO level: