TRACE_ON

Description

The TRACE_ON setting is fundamental for enabling the tracing system. When set to a valid file path, the system will begin logging trace information to the specified file.

Type

String (File path)

Default

Empty

Example

TRACE_ON C:\\logs\\btr2sql.tra

Implementation Details

  • The path must be accessible and writable by the application

  • Can be modified at runtime using MdsSetSetting(MDS_GLOBAL_INI, "TRACE_ON", path)

  • Can be enabled/disabled through API calls

  • Supports both relative and absolute paths

Error Conditions

  • Invalid path: System will log an error and disable tracing

  • Permission denied: System will attempt to create trace file in default location

  • Disk full: System will attempt to flush buffer and notify application