Those are the names of the threads within the broker JVM, so no, there is not a way to get them into the client logs.
This feels like an XY problem (http://xyproblem.info), so what are you actually trying to do? Maybe there's a different way to do it than the one you've thought of. Tim On Thu, Nov 29, 2018, 10:27 AM snekam <kamathaldonker_sn...@bah.com wrote: > I am running ActiveMQ 5.15.5 as a standalone broker and my spring > application > is connecting to it. > I wanted to know if I can log the Task-ID that the broker logs, in the > client application logs. > > Currently application logs look like: > INFO ] 2018-11-29 09:52:19,144 [ActiveMQ Session Task] .... > [INFO ] 2018-11-29 09:52:19,168 [ActiveMQ Session Task] ... > [INFO ] 2018-11-29 09:52:19,199 [ActiveMQ Session Task] .... > > I believe if I had embedded activeMQ the logs would look like > INFO ] 2018-11-29 09:52:19,144 [ActiveMQ Session Task-9] .... > [INFO ] 2018-11-29 09:52:19,168 [ActiveMQ Session Task-9] ... > > Looking at the client application logs, i do not have a way to categorize > transactions by multiple users as they are all logged as "ActiveMQ Session > Task" > > Is there a way to log the Task-ID from broker (I do see the Task-ID at the > broker logs activemq.log) in the client logs. > I tried to set the ActiveMQ logs in the client log4j.xml to info with no > luck. > > Thanks > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >