Although I can't reproduce your issue (so may be sharing a reproducible
sample would help)
But this is somewhat common issue and could be managed with turning off the
aditivity in log4j
Try to add this line:

log4j.additivity.akka.actor.RepointableActorRef=false
Cheers
Oleg


On Thu, Feb 6, 2014 at 7:53 AM, Dmitriy Pogretskiy <[email protected]>wrote:

> Problem i currently trying to solve is that i need to log all actors with
> log level INFO while all other loggers are on ERROR.
>
> Somehow i found out that if you configure log4j like:
>
> log4j.rootLogger=ERROR, MY_APPENDER
> ###Akka
> log4j.logger.akka.actor.RepointableActorRef=INFO, MY_APPENDER
>
> and eventually got what i want, but all log messages in file are
> duplicated, and that's sort of a bad thing.
>
> Do you have any ideas on how to achieve what i need other way, or get rid
> of duplicates?
>
> Regards, Dmitriy
>
>
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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/groups/opt_out.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to