Re: How to create the custom marker in log4j2/slf4j?

2016-03-15 Thread Bilguun Ariunbold
Thank you for your responses. Sorry about the noise, it's working as expected now, it seems like the problem was jar files, I deleted all jars and ran mvn build again. On Tuesday, March 15, 2016, Ralph Goers wrote: > ? > > It looks like he is using the SLF4J API and

Re: Async Logger

2016-03-15 Thread Ralph Goers
If you use the system property all Loggers will be asynchronous. If you specify AsyncLogger in the configuration without the system property then only the AsyncLoggers will be asynchronous. Ralph > On Mar 15, 2016, at 5:08 PM, Prasanth Jayachandran > wrote: > > Hi All

Re: Async Logger

2016-03-15 Thread Remko Popma
When you say "enables Async logging", what exactly do you mean? What do you observe? Sent from my iPhone > On 2016/03/16, at 11:08, Prasanth Jayachandran wrote: > > Hi All > > We are using log4j2 in Apache Hive project. We are exploring the option of > using Async

Async Logger

2016-03-15 Thread Prasanth Jayachandran
Hi All We are using log4j2 in Apache Hive project. We are exploring the option of using Async Logger. From the doc, https://logging.apache.org/log4j/2.x/manual/async.html#AllAsync the requirements for async loggers are the presence of disruptor jar in classpath and the system property

Re: How to create the custom marker in log4j2/slf4j?

2016-03-15 Thread Ralph Goers
? It looks like he is using the SLF4J API and wants that routed to Log4j. Assuming he has the correct jars this should work. Ralph > On Mar 15, 2016, at 1:09 PM, Gary Gregory wrote: > > I need a Log4j marker, please see org.apache.logging.log4j.MarkerManager > > Gary

Re: How to create the custom marker in log4j2/slf4j?

2016-03-15 Thread Gary Gregory
I need a Log4j marker, please see org.apache.logging.log4j.MarkerManager Gary On Tue, Mar 15, 2016 at 12:12 PM, Bilguun Ariunbold < ariunboldbilig...@gmail.com> wrote: > down votefavorite > < > https://stackoverflow.com/questions/36018016/how-to-create-the-custom-marker-in-slf4j-log4j2# > > > >

How to create the custom marker in log4j2/slf4j?

2016-03-15 Thread Bilguun Ariunbold
down votefavorite I am trying to create custom marker using slf4j and log4j2. Below is how I created the marker and used it: Marker marker =