Thanks Patrik,

That's always an option with logback, but I'd rather not have to go there.

Grep in this case is not an option as the logs are coming through in a
Jenkins console and very noisy. I'd like to be able to just read it
off. The custom event handler sounds like it might be a good option
but I'd also like you to consider making logging heartbeat messages
optional as the value in seeing them is really rather low compared to
being able to see our domain messages.

Best regards,
Sam

On 21 January 2015 at 21:37, Patrik Nordwall <patrik.nordw...@gmail.com> wrote:
> You could also use slf4j logger and define the filter in the logback config
> (or whatever impl you prefer).
>
> An alternative; use grep/egrep to filter out the relevant information from
> the log file after the fact.
>
> /Patrik
>
> 21 jan 2015 kl. 17:29 skrev Martynas Mickevičius
> <martynas.mickevic...@typesafe.com>:
>
> Hi Sam,
>
> you can use custom event listener to display the log messages that you are
> interested in.
>
> Here you can find a simple example demonstrating that. And there is a
> documentation section explaining this.
>
> On Mon, Jan 19, 2015 at 11:02 AM, Sam Halliday <sam.halli...@gmail.com>
> wrote:
>>
>> Is this something that would be suitable for an RFE?
>>
>> More generally it would be good to have an option to only log userland
>> messages in remoting.
>>
>>
>> On Friday, 16 January 2015 17:41:55 UTC, Sam Halliday wrote:
>>>
>>> Hi all,
>>>
>>> I'm trying to debug a remoting issue and I need to look at the logs of
>>> the messages that are sent.
>>>
>>> However, the logs are completely filled up with the send/receive of
>>> deathwatch messages.
>>>
>>> Without turning off deathwatch, is there any way to exclude it from the
>>> logs?
>>>
>>> Latest akka stable, logging config looks like
>>>
>>> akka {
>>>   remote {
>>>     log-sent-messages = on
>>>     log-received-messages = on
>>>     log-frame-size-exceeding = 1000b
>>>
>>>     log-remote-lifecycle-events = off
>>>
>>>     watch-failure-detector {
>>>       # Our timeouts can be so high, the PHI model basically doesn't
>>>       # know what to do, so just use a single timeout.
>>>       # http://doc.akka.io/docs/akka/snapshot/scala/remoting.html
>>>       acceptable-heartbeat-pause = 60 s
>>>     }
>>>   }
>>>
>>>   actor {
>>>     debug {
>>>       receive = on
>>>       #autoreceive = on
>>>       #lifecycle = on
>>>       #fsm = on
>>>       #event-stream = on
>>>       unhandled = on
>>>     }
>>> }
>>>
>> --
>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Martynas Mickevičius
> Typesafe – Reactive Apps on the JVM
>
> --
>>>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> 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 a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/FbpqhhBZfKY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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