Page 1 of 1

Logging only filtering

Posted: 16 Jun 2014, 16:10
by smorley
I'm trying to investigate a problem with a plugin install failure (Announcements) but can't get the logging to record anything other than 'filtering' action.

(Note: I'm currently moving servers and the logging previously worked. This is version 1.2.12.)
I have tried the following:
$g_log_level = LOG_DATABASE;
$g_log_level = LOG_AJAX | LOG_DATABASE | LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_LDAP;
$g_log_level = -1;

In the last two cases I get logging activity, but it only reports 'filtering' action.

Re: Logging only filtering

Posted: 16 Jun 2014, 18:52
by atrol
What's your $g_log_destination setting?

Re: Logging only filtering

Posted: 18 Jun 2014, 19:04
by smorley
$g_log_destination = 'file:d:/logs/mantis2.log';

It does write to the file, just not all that I had hoped for.

Re: Logging only filtering

Posted: 18 Jun 2014, 19:20
by atrol
You have to set also

Code: Select all

$g_show_queries_list = ON;
$g_show_queries_count = ON;
if you want to log database activity. (no longer needed in version 1.3)