Re: athena duplicate messages issue

Jean-Paul Calderone <[email protected]> Mon, 30 Jul 2007 10:50:33 -0400
Newsgroups gmane.comp.python.quotient.dev
Message-ID <20070730145033.4947.114957089.divmod.quotient.16658@ohm>
On Thu, 26 Jul 2007 08:22:27 +0200, Werner Thie <[email protected]> wrote:
>I am suffering from the same problem in athena like Michael Graz described 
>in his post from the 12.Jan 2007.
>Jean-Paul asked for an example, Michael provided one and silence since then.
>
>After having received no answer to my own post regarding this issue I bring 
>up this subject again, since it is observable since at least nevow 0.7 in 
>the widgets example. (I have no earlier version anymore). If somebody could 
>provide some pointers where to hook into I might invest time to fix this.
>
>It's very annoying to have to clean the logs for customers from a gazillion 
>'Athena transport duplicate message, discarding...' even when their 
>harmless.

I can think of a few possible courses of action.

I could remove the log message.  The duplicates would still occur, of
course, but no one would know about them.

Someone else could tackle Twisted ticket #638, allowing you to avoid
actually recording this event in the log file.

Someone else could work on improving Athena such that duplicates occur
only in the case where they really cannot be avoided.  This might result
in a small enough number of messages so that they wouldn't be a bother
to your customers, or it might leave the code in a state where the log
message really isn't conveying _any_ useful information and it could be
removed.

I probably only have time to address this in the first way myself.  Any
contributions towards the other two solutions would be welcome, though.

Jean-Paul