0

I use Snowflake.Data nuget package in my .NET 4.7.2 project. All the debug logs in the decompiled Snowflake.Data library (v4.3.0) are appearing in my application log which is too much. My application uses Log4net for logging.

How do I get rid of the nuget package logging?

1 Answer 1

0

Assuming all the logs are from a namespace starting with Snowflake , you can add something like the following to your configuration file which means you will only log their errors (or you can set the value to OFF if you don't want the errors either).

<logger name="Snowflake" additivity="false">
      <level value="ERROR" />
</logger>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.