Closed Bug 922403 Opened 11 years ago Closed 10 years ago

No filter logs are being recorded despite filters operating OK

Categories

(Thunderbird :: Filters, defect)

24 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dmp2, Unassigned)

Details

User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

Steps to reproduce:

I originally had some trouble creating a slightly complex new filter and tried to consult the log file to see what was wrong; however that was completely blank.

This was in v17.0.8; I uninstalled it and reinstalled the latest version v24, but no change.

I'm using Windows 7 Home Premium SP1, 64-bit, with all my Thunderbird files stored on a NAS.  I'm using Global Inbox (Local Folders Account). 'Enable the filter log' is checked.


Actual results:

I've tested this with just one known message filter enabled; this filter works, but I get no entry in filterlog.html in Local Folders.

The msgFilterRules.dat file shows:
version="9"
logging="yes"


Expected results:

I should have entries in the log file
On which account did you set up the filters? On the source account (where the messages really arrive) or the target account (where they are copied to via the Global inbox feature) ? Can you paste a sample of the filter that is not being logged? You can censor real text values if necessary, we just need the rules and actions used.
All the filters are on "Local folders".

Is it possible to paste in a sample filter, rather than just copying the criteria?  Here's one:

Filter name: Newsletters (I use POPfile to categorise my incoming email, and this takes any email which POPfile decides is a newsletter and sticks it in a bespoke folder as soon as it arrives)

Apply filter when
x Manually Run
x Getting New Mail   [Filter before Junk Classification]
x Match all of the following
[X-Text-Classification] [is] [newsletters]

[Move Message to] [Newsletters on Local Folders]
[Stop Filter Execution]

(Let me know if there's a cleaner way of copying this!)
So you have enabled the filter log on the Local folders account? The log is also per account. So you need to have logging="yes" in the msgFilterRules.dat where the filter itself is also stored.

You can also copy the filter definition from the msgFilterRules.dat file. But the way you did it is also fine (even better as it already is decoded).
Thanks.
But as far as I understand it, my filters are already stored in the Local folders account?  

Notwithstanding that, I've just been in to the "Manage Message Filters" window in "Local Folders", where at the top there's a dropdown for "Filters for:" - this currently has "Local Folders" selected/displayed.  I've just changed that in turn to each of the 6 accounts I currently have there; for each one the area below, stating "Enabled filters are run automatically in the order shown below" (as expected, I think, as all my filters are under "Local Folders".  For what it's worth though, I did select "Enable the Filter Log" for each of those accounts.

I appreciate I might be misunderstanding something here, though...
Have you tried deleting filterlog.html?
Flags: needinfo?(dmp2)
Whiteboard: [closeme 2014-09-15]
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(dmp2)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2014-09-15]
You need to log in before you can comment on or make changes to this bug.