Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Defining log level
-
In proget core I have noticed that by default there is log level info enabled which spams in the console per request which might overwhelm the system when there are too many concurrent requests. How can I change the log level to error ? Thank you.
-
Hi @nuno-guerreiro-rosa_9280,
You can reduce the logging by adding some environment variable parameters to your docker start command. The environment variable paramters you will need to add are:
-e 'Logging__LogLevel__Default=Warning' -e 'Logging__LogLevel__Microsoft=Warning' -e 'Logging__LogLevel__Microsoft.Hosting.Lifetime=Warning'You can also set them to
Errorif oyu wnt even less logging.Thanks,
Rich -
@rhessinger Thank you very much.
-
Hi @nuno-guerreiro-rosa_9280,
No problem! Gald it helped!
Thanks,
Rich
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login