thanks Endre for the pointers but I am still out of luck.

The DeadLetter objects I see when I subscribe  to the event stream
have already "dead-letter" as recipient, so it is impossible to
determine if they were a reply to a timed out "ask".

I tried to define a sort of conditional reply, in order to reply to
the ask only if the sending actor is not terminated but it did not
work.

If I am not able to filter out this kind of errors from the
dead-letter log, it is useless to look at it.

Best regards,
Nicola

On Thu, Oct 2, 2014 at 11:47 AM, Akka Team <[email protected]> wrote:
> Hi Nicola,
>
>
>
> On Wed, Oct 1, 2014 at 12:10 PM, Nicola Piccinini <[email protected]>
> wrote:
>>
>> hi all,
>>
>> my understanding is that when I have:
>>
>> actorRef ? "hi"
>>
>> and the future times out, the reply eventually sent back from actorRef
>> goes to dead-letters.
>>
>> That is fine but the log is "polluted" with messages about "dead letters
>> encountered" related to those replies.
>>
>> Is there a way to filter out only this kind of messages from the log (but
>> keep other "dead letters encountered")?
>
>
> As far as I know not, there are only two configuration settings related to
> dead letters:
>
> akka.log-dead-letters
> akka.log-dead-letters-during-shutdown
>
> but you don't have the ability to filter on different "kinds" of dead
> letters. You can subscribe though to dead letter events and handle them as
> you want, see here:
>
> http://doc.akka.io/docs/akka/2.3.6/general/message-delivery-reliability.html#Dead_Letters
>
> and here
>
> http://doc.akka.io/docs/akka/2.3.6/general/message-delivery-reliability.html#How_do_I_Receive_Dead_Letters_
>
> and even more information here:
>
> http://doc.akka.io/docs/akka/2.3.6/scala/event-bus.html#Event_Stream
>
> -Endre
>
>
>>
>>
>> Thanks,
>> Nicola
>>
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ:
>> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
>
> --
>>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>>> Check the FAQ:
>>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/F_o-fkQIOPI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to