Logging only filtering

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
smorley
Posts: 6
Joined: 27 Nov 2012, 17:40

Logging only filtering

Post 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.
atrol
Site Admin
Posts: 8577
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Logging only filtering

Post by atrol »

What's your $g_log_destination setting?
Please use Search before posting and read the Manual
smorley
Posts: 6
Joined: 27 Nov 2012, 17:40

Re: Logging only filtering

Post by smorley »

$g_log_destination = 'file:d:/logs/mantis2.log';

It does write to the file, just not all that I had hoped for.
atrol
Site Admin
Posts: 8577
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Logging only filtering

Post 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)
Please use Search before posting and read the Manual
Post Reply