Thanks this was very useful!

On Friday, February 26, 2016 at 5:59:36 AM UTC-5, Akka Team wrote:
>
> Hi Paul,
>
> You can use 
>
>    system.eventStream.publish(Mute(<your EventFilter>))
>
> for example to filter out info level you can say:
>
>    system.eventStream.publish(Mute(EventFilter.info()))
>
> or a certain exception:
>
>    system.eventStream.publish(Mute(EventFilter[MyException]("message")))
>
> -Endre
>
> On Wed, Feb 17, 2016 at 1:50 PM, Paul Cleary <[email protected] 
> <javascript:>> wrote:
>
>> I am using the akka testkit TestEventListener to check for exceptions.
>>
>> I have a number of test cases spread across the application that use it.
>>
>> My application.conf for src/test looks like:
>>
>> akka {
>>  loglevel = "INFO"
>>  loggers = ["akka.testkit.TestEventListener"]
>>
>>
>> But now, I get a TON of output in stdout when running my tests.
>>
>> Is there a way to use the TestEventListener and not have normal logging 
>> output to stdout when running your tests?
>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Akka Team
> Typesafe - Reactive apps on the JVM
> 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 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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to