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.
-
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
Error
if oyu wnt even less logging.Thanks,
Rich
-
@rhessinger Thank you very much.
-