Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Arun
Thanks Yann and Jan.

The kamon looks clean way of implementation, the page also talks about 
http://kamon.io/integrations/logback/mdc-in-an-asyncronous-environment/ 
 the way you have describe in your blog as well. 

I am going ahead with kamon.

Thanks to everyone. 

Regards,
Arun

On Tuesday, September 13, 2016 at 2:02:46 PM UTC+5:30, Yann Simon wrote:
>
> I don't think so.
> The source thread is the thread used to handle the message, as the log is 
> done in another actor (and maybe in another thread).
>
> Le mar. 13 sept. 2016 à 10:28, Arun  a 
> écrit :
>
>> Thanks Yann. Let me explore these options. 
>>
>> As per akka documentation 
>> http://doc.akka.io/docs/akka/2.4.10/scala/logging.html , can I use 
>> "sourceThread" 
>> as traceid?
>>
>> Regards,
>> Arun
>>
>> On Tuesday, September 13, 2016 at 1:23:48 PM UTC+5:30, Yann Simon wrote:
>>
>>> I wrote that some times ago: 
>>> http://yanns.github.io/blog/2014/05/04/slf4j-mapped-diagnostic-context-mdc-with-play-framework/
>>> I use a somewhat modified version of that, but it works only with 
>>> Futures.
>>> With actors (and akka-stream and akka-http), I think that you only have 
>>> 2 options:
>>> - use kamon.io
>>> - propagating a "context" yourself, and using a custom Logger that reads 
>>> from this context
>>>
>>> Yann
>>>
>>> Le mar. 13 sept. 2016 à 08:57, Arun  a écrit :
>>>
 Thanks Jan.

 I am looking for something similar to 
 http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
  
 , I could able to find that either by using custom akka dispatcher or 
 custom execution context, we can achieve the same, but I would prefer 
 anything I can do with minimal changes in akka default behaviour. 

 Using MDC with Logback; the logback uses a ThreadLocal variable and 
 this works when one thread is used for one request, in case of Akka 
 asynchronous communication happens across multiple threads.

 Thanks
 Arun

 On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen 
 wrote:

> Hi Arun
>
> Take a look at kamon.io
>
> Jan
>
> Sent from my iPhone
>

> On 13.09.2016, at 07:48, Arun  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:
>
>
> 
> 
> 
> true
> 
> @timestamp
> msg
> [ignore]
> [ignore]
> logger
> [ignore]
> 
>  class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
> 80
> 2048
> 20
>   true
> 
> 
> 
> 
> 
> 
> 
>
>
> 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+...@googlegroups.com.
> To post to this group, send email to akka...@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+...@googlegroups.com.
 To post to this group, send email to akka...@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/
>> 

Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Yann Simon
I don't think so.
The source thread is the thread used to handle the message, as the log is
done in another actor (and maybe in another thread).

Le mar. 13 sept. 2016 à 10:28, Arun  a écrit :

> Thanks Yann. Let me explore these options.
>
> As per akka documentation
> http://doc.akka.io/docs/akka/2.4.10/scala/logging.html , can I use 
> "sourceThread"
> as traceid?
>
> Regards,
> Arun
>
> On Tuesday, September 13, 2016 at 1:23:48 PM UTC+5:30, Yann Simon wrote:
>
>> I wrote that some times ago:
>> http://yanns.github.io/blog/2014/05/04/slf4j-mapped-diagnostic-context-mdc-with-play-framework/
>> I use a somewhat modified version of that, but it works only with Futures.
>> With actors (and akka-stream and akka-http), I think that you only have 2
>> options:
>> - use kamon.io
>> - propagating a "context" yourself, and using a custom Logger that reads
>> from this context
>>
>> Yann
>>
>> Le mar. 13 sept. 2016 à 08:57, Arun  a écrit :
>>
>>> Thanks Jan.
>>>
>>> I am looking for something similar to
>>> http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
>>> , I could able to find that either by using custom akka dispatcher or
>>> custom execution context, we can achieve the same, but I would prefer
>>> anything I can do with minimal changes in akka default behaviour.
>>>
>>> Using MDC with Logback; the logback uses a ThreadLocal variable and this
>>> works when one thread is used for one request, in case of Akka asynchronous
>>> communication happens across multiple threads.
>>>
>>> Thanks
>>> Arun
>>>
>>> On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen
>>> wrote:
>>>
 Hi Arun

 Take a look at kamon.io

 Jan

 Sent from my iPhone

>>>
 On 13.09.2016, at 07:48, Arun  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:


 
 
 
 true
 
 @timestamp
 msg
 [ignore]
 [ignore]
 logger
 [ignore]
 
 >>> class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
 80
 2048
 20
   true
 
 
 
 
 
 
 


 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+...@googlegroups.com.
 To post to this group, send email to akka...@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+...@googlegroups.com.
>>> To post to this group, send email to akka...@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 

Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Arun
Thanks Yann. Let me explore these options. 

As per akka 
documentation http://doc.akka.io/docs/akka/2.4.10/scala/logging.html , can 
I use "sourceThread" as traceid?

Regards,
Arun

On Tuesday, September 13, 2016 at 1:23:48 PM UTC+5:30, Yann Simon wrote:
>
> I wrote that some times ago: 
> http://yanns.github.io/blog/2014/05/04/slf4j-mapped-diagnostic-context-mdc-with-play-framework/
> I use a somewhat modified version of that, but it works only with Futures.
> With actors (and akka-stream and akka-http), I think that you only have 2 
> options:
> - use kamon.io
> - propagating a "context" yourself, and using a custom Logger that reads 
> from this context
>
> Yann
>
> Le mar. 13 sept. 2016 à 08:57, Arun  a 
> écrit :
>
>> Thanks Jan.
>>
>> I am looking for something similar to 
>> http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
>>  
>> , I could able to find that either by using custom akka dispatcher or 
>> custom execution context, we can achieve the same, but I would prefer 
>> anything I can do with minimal changes in akka default behaviour. 
>>
>> Using MDC with Logback; the logback uses a ThreadLocal variable and this 
>> works when one thread is used for one request, in case of Akka asynchronous 
>> communication happens across multiple threads.
>>
>> Thanks
>> Arun
>>
>> On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen 
>> wrote:
>>
>>> Hi Arun
>>>
>>> Take a look at kamon.io
>>>
>>> Jan
>>>
>>> Sent from my iPhone
>>>
>>
>>> On 13.09.2016, at 07:48, Arun  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:
>>>
>>>
>>> 
>>> 
>>> 
>>> true
>>> 
>>> @timestamp
>>> msg
>>> [ignore]
>>> [ignore]
>>> logger
>>> [ignore]
>>> 
>>> >> class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
>>> 80
>>> 2048
>>> 20
>>>   true
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> 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+...@googlegroups.com.
>>> To post to this group, send email to akka...@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+...@googlegroups.com .
>> To post to this group, send email to akka...@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.


Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Konrad Malawski
Reactive Monitoring is able to propagate MDC across Actors:
https://www.lightbend.com/products/monitoring

-- 
Konrad `ktoso` Malawski
Akka  @ Lightbend 

On 13 September 2016 at 08:57:24, Arun (sethia.a...@gmail.com) wrote:

Thanks Jan.

I am looking for something similar to
http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
, I could able to find that either by using custom akka dispatcher or
custom execution context, we can achieve the same, but I would prefer
anything I can do with minimal changes in akka default behaviour.

Using MDC with Logback; the logback uses a ThreadLocal variable and this
works when one thread is used for one request, in case of Akka asynchronous
communication happens across multiple threads.

Thanks
Arun

On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen
wrote:
>
> Hi Arun
>
> Take a look at kamon.io
>
> Jan
>
> Sent from my iPhone
>
> On 13.09.2016, at 07:48, Arun  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:
>
>
> 
> 
> 
> true
> 
> @timestamp
> msg
> [ignore]
> [ignore]
> logger
> [ignore]
> 
>  class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
> 80
> 2048
> 20
>   true
> 
> 
> 
> 
> 
> 
> 
>
>
> 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+...@googlegroups.com .
> To post to this group, send email to akka...@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.

-- 
>>  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.


Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Yann Simon
I wrote that some times ago:
http://yanns.github.io/blog/2014/05/04/slf4j-mapped-diagnostic-context-mdc-with-play-framework/
I use a somewhat modified version of that, but it works only with Futures.
With actors (and akka-stream and akka-http), I think that you only have 2
options:
- use kamon.io
- propagating a "context" yourself, and using a custom Logger that reads
from this context

Yann

Le mar. 13 sept. 2016 à 08:57, Arun  a écrit :

> Thanks Jan.
>
> I am looking for something similar to
> http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
> , I could able to find that either by using custom akka dispatcher or
> custom execution context, we can achieve the same, but I would prefer
> anything I can do with minimal changes in akka default behaviour.
>
> Using MDC with Logback; the logback uses a ThreadLocal variable and this
> works when one thread is used for one request, in case of Akka asynchronous
> communication happens across multiple threads.
>
> Thanks
> Arun
>
> On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen
> wrote:
>
>> Hi Arun
>>
>> Take a look at kamon.io
>>
>> Jan
>>
>> Sent from my iPhone
>>
>
>> On 13.09.2016, at 07:48, Arun  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:
>>
>>
>> 
>> 
>> 
>> true
>> 
>> @timestamp
>> msg
>> [ignore]
>> [ignore]
>> logger
>> [ignore]
>> 
>> > class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
>> 80
>> 2048
>> 20
>>   true
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>> 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+...@googlegroups.com.
>> To post to this group, send email to akka...@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.
>

-- 
>>  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.


Re: [akka-user] Akka Http Logging with traceId

2016-09-13 Thread Arun
Thanks Jan.

I am looking for something similar 
to 
http://code.hootsuite.com/logging-contextual-info-in-an-asynchronous-scala-application/
 
, I could able to find that either by using custom akka dispatcher or 
custom execution context, we can achieve the same, but I would prefer 
anything I can do with minimal changes in akka default behaviour. 

Using MDC with Logback; the logback uses a ThreadLocal variable and this 
works when one thread is used for one request, in case of Akka asynchronous 
communication happens across multiple threads.

Thanks
Arun

On Tuesday, September 13, 2016 at 11:27:58 AM UTC+5:30, Jan Algermissen 
wrote:
>
> Hi Arun
>
> Take a look at kamon.io
>
> Jan
>
> Sent from my iPhone
>
> On 13.09.2016, at 07:48, Arun  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:
>
>
> 
> 
> 
> true
> 
> @timestamp
> msg
> [ignore]
> [ignore]
> logger
> [ignore]
> 
>  class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
> 80
> 2048
> 20
>   true
> 
> 
> 
> 
> 
> 
> 
>
>
> 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+...@googlegroups.com .
> To post to this group, send email to akka...@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.


Re: [akka-user] Akka Http Logging with traceId

2016-09-12 Thread algermissen1971
Hi Arun

Take a look at kamon.io

Jan

Sent from my iPhone

> On 13.09.2016, at 07:48, Arun  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:
> 
> 
> 
> 
> true
> 
> @timestamp
> msg
> [ignore]
> [ignore]
> logger
> [ignore]
> 
>  class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
> 80
> 2048
> 20
>   true
> 
> 
> 
> 
> 
> 
> 
> 
> 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.