Official Content

Indicates the Log provider to use.


Generators: .NET, .NET Framework, Java

Level: Generator



ASP.NET trace The log is displayed on the ASP .NET trace (.NET Framework only).
Execute the trace.axd object to check the log.
Console The log is displayed on the Console Appender.
Event viewer The log is displayed on the Event viewer (.NET Framework only).
File 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

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build any object.

See Also

Log level property
HowTo: See trace information in applications hosted on .Net Cloud

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant