- Chen Mey Lee
- PowerServer
- Thursday, 10 November 2022 07:20 AM UTC
Hi,
We encounter intermittent error "Datawindow Error : Http Error! :Service Temporarily unavailable"
After set below powerserver logging setting to true in Logging.JSON file, does it automatically log error details to "Logging/logs/powerserver.log"?
{
// PowerServer log configuration
// see https://docs.microsoft.com/e-us/aspnet/core/fundamentals/logging
"Logging": {
// onfigures whether to enable file server for logging
"EnableFileServer": true,
// Sets the default log output level of all the logging providers
"LogLevel": {
// Sets the default log output level
"Default": "Warning",
// Sets the Microsoft log output level
"Microsoft": "Warning",
// Sets the Microsoft.Hosting.Lifetime log output level
"Microsoft.Hosting.Lifetime": "Information"
},
// Configures the log output of Application Insights
"ApplicationInsights": {
"LogLevel": {
// Sets the default log output level
"Default": "Warning"
}
}
},
"PowerServer": {
// PowerServer debug log configuration
"LoggingOptions": {
// Sets whether to output SQL related logs
"EnableSqlLog": true,
// Sets whether to output logs related with session status changes
"EnableSessionLog": true,
// Sets whether to output logs related with transaction status changes
"EnableTransactionLog": true
}
},
"ApplicationInsights": {
// Configures the Application Insights key for telemetry data transfer
"InstrumentationKey": "<put instrumentation key here>"
}
}
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.