Indicates the Log provider to use.
Generators: .NET, .NET Framework, Java
||The log is displayed on the ASP .NET trace (.NET Framework only).
Execute the trace.axd object to check the log.
||The log is displayed on the Console Appender.
||The log is displayed on the Event viewer (.NET Framework only).
||Default value. The log is generated as a file.
|Azure Application Insights
||The log is displayed in Azure Application Insights (.NET only).
The Log Output can also be set using an environment variable, as explained in Log settings with environment variables.
In the case of selecting Azure Application Insights as a Log provider, consider the following:
- The Log Level value should be set using the GX_LOG_LEVEL environment variable. See Log settings with environment variables.
- The APPLICATIONINSIGHTS_CONNECTION_STRING environment variable has to be defined and indicates the Connection String of the Application Insights resource.
In Azure cloud, the environment variables are defined as App Settings.
1. When the Observability Provider property is set to Azure Monitor Application Insights, the Log output property is ignored and the Log provider used is Azure Monitor.
2. Avoid setting the 'ASP.NET trace' and 'Event viewer' values when using the .NET Generator. Instead, it is recommended to use the 'Console' value to view the logs in /url/trace.axd
This property applies only at design time.
To apply the corresponding changes when the property value is configured, Build any object.
Log level property
HowTo: See trace information in applications hosted on .Net Cloud