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.
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":
Tracing can be enabled with global scope in GAM Configurations. In this menu, the Enable tracing property has to be "1 - Debug".
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
Set the following Environment Variable: GX_GAM_LOG_LEVEL = 1
This environment variable enables the General Trace and the Trace of all repositories.
GAM - Troubleshooting
HowTo: Generate trace of GAM Deploy Tool