There are two ways to enable logging:
- Globally for the entire connector or link
- For a specific user specific to a link (as described in Adding a Link and Editing a Link)
The global option is the preferred option to limit the number of logs generated to only a single user. Increased logging requires increased CPU, IO, and network resources which can affect the performance of the system and queries. Enabling logging for a single user when troubleshooting a problem is better than enabling logging for all users.
Enable global logging by setting the Enable Logging connector property. The property can be set to various debug levels. The default is None for the connectors and can be overridden at the connector or link level. The available debug levels are None, Warn, Info, or Debug. When set, this property is used for the entire query and carried to the target connector. This setting applies to both the initiating and target connector; however, the logging level for the initiator connector in the link takes precedence if set differently. See the Enable Logging property in Teradata Connector and Link Properties.