Hi Arun

Take a look at kamon.io

Jan

Sent from my iPhone

> On 13.09.2016, at 07:48, Arun <sethia.a...@gmail.com> wrote:
> 
> Hi,
> 
> We have a requirement where we need to log information with traceId (or 
> unique identifier) for  a given HTTP request across route and actors. This 
> can help us to trace logging.
> 
> The configuration is as following:
> 
> akka {
>   loggers = ["akka.event.slf4j.Slf4jLogger"]
>   loglevel = "INFO"
>   logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
> }
> 
> and logback.xml is as following:
> 
> <configuration>
>     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
>         <encoder class="net.logstash.logback.encoder.LogstashEncoder">
>             <includeContext>true</includeContext>
>             <fieldNames>
>                 <timestamp>@timestamp</timestamp>
>                 <message>msg</message>
>                 <thread>[ignore]</thread>
>                 <levelValue>[ignore]</levelValue>
>                 <logger>logger</logger>
>                 <version>[ignore]</version>
>             </fieldNames>
>             <throwableConverter 
> class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
>                 <maxDepthPerThrowable>80</maxDepthPerThrowable>
>                 <maxLength>2048</maxLength>
>                 <shortenedClassNameLength>20</shortenedClassNameLength>
>                   <rootCauseFirst>true</rootCauseFirst>
>             </throwableConverter>
>         </encoder>
>     </appender>
>     <root level="INFO">
>         <appender-ref ref="STDOUT" />
>     </root>
> </configuration>
> 
> Please let me know how we can enable traceId from route to actor systems.
> 
> Thanks
> Arun
> -- 
> >>>>>>>>>> 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 https://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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to