NLogger want to log only Info and Error- but showing everything RRS feed

  • Question

  • Hi,

    I am using NLog,

    NLogger want to log only Info and Error- but showing everything.

    log.Info("This is a message from {0}", "Mickey Donovan");


    it showing trace and other details, why??

    my config is like this:

    <rules> <logger name="*" minlevel="Error" writeTo="file" />

    <logger name="*" minlevel="Info writeTo="file" /> </rules>


    • Moved by CoolDadTx Monday, October 26, 2020 1:46 PM Third Party Product
    Sunday, October 25, 2020 6:27 PM

All replies

  • Hi Ashokkumar,

    Thank you for posting here.

    NLog is a three-party product, and some members here may not have experience in using this product.

    Therefore, you'd better ask questions about this product in their GitHub repository, and the recommended support channel on their website is also GitHub.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 26, 2020 3:05 AM