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_FORMATenvironment 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 asTEXTorJSON, as needed.Run the following command to set the environment variable:
export LOGGER_FORMAT=JSON/TEXT -
Navigate to the
studio_install_path/config/logging.propertiesforTEXTformat or thestudio_install_path/config/logging-json.propertiesforJSONformat. -
Edit the following properties in the
.propertiesfile:.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=FINEYou 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=SEVEREExample 2:# Persistence and Jersey org.eclipse.persistence.level=INFO org.glassfish.jersey=INFO org.glassfish.jersey.server.level=INFO