Table of contents

Official Content

Applications that use GeneXus Access Manager (GAM) can generate trace information to help when troubleshooting.

The administrator user of the GAM Applications can configure the Repository and GAM settings to generate trace information about the execution of the GAM libraries.

Steps to Enable Repository Tracing in GAM

When running the GAM Backoffice, the Repository settings can be edited, and the Enable tracing option can be configured to generate debug information by setting the value "1 - Debug":

EnableTracingRepository

Tracing can be enabled with global scope in GAM Configurations. In this menu, the Enable tracing property has to be "1 - Debug".  

EnableTracingGAM

When the GAM API is used, the code to start generating trace in a given repository is as follows:

&GAMRepository.EnableTracing = &EnableTracing //&GAMRepository is GAMRepository data type. &EnableTracing is based on GAMTracing domain.

The tracing information is added to the standard output. 

For the GeneXus Java Generator, it can be found in Tomcat's stdout log file (it depends on the standard output of the servlets server).

For the GeneXus .NET Generator, the following property has to be configured:

  • Log Level >= 4 (Info)
    The trace location depends on the following properties:
  • Log Output
  • Log File

How to enable Trace from an Environment Variable

Set the following Environment Variable: GX_GAM_LOG_LEVEL  = 1

This environment variable enables the General Trace and the Trace of all repositories.

See Also

GAM - Troubleshooting
HowTo: Generate trace of GAM Deploy Tool

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