How to turn on database logging?

The release related discussions, plans and questions.
Locked
pyang
Advanced user
Posts: 18
Joined: Sat Feb 04, 2006 12:28 am
Contact:

How to turn on database logging?

Post by pyang »

Hi,

I'd like to monitor the database transactions, and am wondering logging in testlink 1.7 has database event logging option.

If testlink 1.7 does not have this functionality, how can I do this?

Thanks,

Paul
pyang
Advanced user
Posts: 18
Joined: Sat Feb 04, 2006 12:28 am
Contact:

Post by pyang »

The mysqld --log option simply takes care of it, even though database event logging is not available in this version of testlink.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Check config and use DEBUG or EXTENDED:

/** Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) */
// added check to avoid notice message in the migration pages
if(!defined('TL_LOG_LEVEL_DEFAULT'))
{
define('TL_LOG_LEVEL_DEFAULT', 'NONE');
}
Locked