In this article, we are recommending App Service logs settings, but you can always (depending on your use case) customize the settings to fit your environment.
App Service Logs (Recommended settings)
To retain or archive the log files, we recommend configuring the following settings under Monitoring -> App Service logs of your SCEPman instance:
Activate Application logging (Filesystem) and set the Level to Verbose: this will allow you to see the Application logs under Log steam
Activate Application logging (Blob) and set the Level to Verbose, then Storage settings to a Storage account (you can use the same Storage account you already created for your SCEPman artifacts), otherwise you can create a new Storage accountand save the Application logging in a Blog Container. This is very helpful to save the application logging for long term. We recommend 30 days for Retention Period.
Activate Web server logging by selecting Storage and the Storage account you already have created. This will save the logs of the web server where SCEPman is running and not of the SCEPman application itself. This could be helpful in some special troubleshooting cases. We recommend 30 days for Retention Period.
Turn on Detailed error messages and Failed request tracing.
Do not forget to Save.
Your App Service logs settings should be (in our example) like:
Diagnostic settings (Optional settings)
To retain your diagnostic data, you can configure the streaming export of platform logs and metrics.
You can choose different destinations as a location.