Configure Log Levels for Server and Performance Logs
GoldenGate Studio allows you to set up different log levels when accessing the GoldenGate Studio Server and Performance logs using logging properties.
-
Before setting up the log levels using the .properties files, you must set up the
LOGGER_FORMAT
environment variable. This environment variable is required for the system to determine the format in which the log needs to be generated. You can specify the value of this variable asTEXT
orJSON
, as needed.Run the following command to set the environment variable:
export LOGGER_FORMAT=JSON/TEXT
-
Navigate to the
studio_install_path/config/logging.properties
forTEXT
format or thestudio_install_path/config/logging-json.properties
forJSON
format. -
Edit the following properties in the
.properties
file:.level=FINE java.util.logging.FileHandler.level=FINE oracle.cloud.ggfe.log.PerformanceFileHandler.level=FINE oracle.cloud.ggfe.level=FINE oracle.cloud.ggfe.orchestrator.connectors.gg.services.level=FINE
You can also change the log level for specific classes or packages. The following examples show the modification of log levels for the Helidon and third-party libraries:
Example 1:# Quiet tracing io.helidon.microprofile.tracing.level=SEVERE io.helidon.microprofile.openapi.level=SEVERE io.helidon.tracing.tracerresolver.level=SEVERE
Example 2:# Persistence and Jersey org.eclipse.persistence.level=INFO org.glassfish.jersey=INFO org.glassfish.jersey.server.level=INFO