Re: [Evolution] Filter logging?



Thanks, that turns out to work.

It also enables me to confirm the bug that started this thread. Under
Evo 2.5.3 selecting All Messages and hitting Apply Filters (i.e. Ctrl-A
Ctrl-Y) is *dangerous*. It just did the same thing again, i.e. almost
all my Inbox (nearly 200 messages) was incorrectly refiled under one
specific folder. The exceptions were one unread message (though other
unread messages were refiled) and one correctly refiled message --
ironically enough from the Evo list.

According to the log, the Evo-list filter was applied to one message,
then a different filter another message where it should have failed, but
instead succeeded and executed the filter action (refile and stop). This
same filter action was then applied to every other message in the folder
except for one. It looks like some "match" flag was incorrectly set and
never reset, and from then on everything matched.

Here's the start of the log (names changed to protect the guilty):

Applied filter "Evo" to message from Lee Revell <rlrevell joe-job com> -
"Re: [Evolution] Mismatch be
tween subject and message contents" at Fri, 06 Jan 2006 15:04:15
Action: Move to folder email://xxxxxx/Lists/Evo
Action: Stopped processing
Action: Stopped processing
Applied filter "SL" to message from <aaaaaaaa> - "zzzzzz" at Fri, 06 Jan
200
6 15:09:15
Action: Move to folder email://xxxxxx/Lists/SL
Action: Stopped processing
Action: Stopped processing
Applied filter "SL" to message from <bbbbbbbb> - "wwwwww" at Fri, 06 Jan
2006
15:09:16
Action: Move to folder email://xxxxxx/Lists/SL
Action: Stopped processing
Action: Stopped processing

and so on for another couple of hundred entries.

Note that filtering works correctly in the normal case, i.e. when
catching incoming messages. It also appears to work when applied
manually to selected messages.

Also, the "SL" filter has "Stop Processing" as its last action (in case
anyone asks).

Sorry this is so long, but since it took me over an hour to restore my
Inbox to its original state, I thought it worth a few minutes to be as
detailed as possible ...

poc

On Fri, 2006-01-06 at 12:01 -0500, Jeffrey Stedfast wrote:
All the code necessary for logging filter activity is there, just that
there is no UI to enable it (and specify the log file to dump to). You
might be able to manually enable it using gconf-editor or something.

the keys are:

/apps/evolution/mail/filters/log = { true | false }
/apps/evolution/mail/filters/logfile = "/path/to/logfile"

Jeff

On Thu, 2006-01-05 at 23:48 +0100, Andre Klapper wrote:
hi patrick,

Am Dienstag, den 20.12.2005, 09:44 -0400 schrieb Patrick O'Callaghan:
So my question is: does Evo keep a log of what its filters are doing,
and if so, where? (Hint: TBird does this and it's a good idea IMHO).

i assume evolution does not, at least according to
http://bugzilla.gnome.org/show_bug.cgi?id=216247

i second that at least having a text logfile would be very great.

cheers,
andre
_______________________________________________
Evolution-list mailing list
Evolution-list gnome org
http://mail.gnome.org/mailman/listinfo/evolution-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]