Skip to main content
Version: TeamForge 22.0

logger-db-query

Use the logger-db-query script to enable or disable logging for queries. Once enabled, the database queries along with the query parameters are logged in /opt/collabnet/teamfoge/log/apps/query.log.

However, the log level change is persistent and can survive Jboss restart. This means that you have to disable logging after the diagnosis or debug work is complete. Continuous logging can impact the performance.

Usage

Use the following command to run this script.

[RUNTIME_DIR]/scripts/logger-db-query [[--enable|-e] | [--disable|-d] | [--help|-h]

Parameters

ParamaterDescription
-e | --enableEnable logging.
-d | --disableDisable logging.
-h | --helpTo view help information for the script.