PnP Core Logging #385
-
Hello all, Is there a handy way to disable Pnp Core logging messages appearing in the console? We're currently using a console app to handle our sharepoint operations, and our output window is filling up with status messages. My current workaround idea is to use a buffer and continuously clear the screen to only show our own messages, but perhaps there is a setting I can toggle? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can configure logging: https://pnp.github.io/pnpcore/using-the-sdk/basics-settings.html. Setting to loglevel None should prevent output (https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-3.1#log-level) |
Beta Was this translation helpful? Give feedback.
You can configure logging: https://pnp.github.io/pnpcore/using-the-sdk/basics-settings.html. Setting to loglevel None should prevent output (https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-3.1#log-level)