Hi,

Steve has started discussion titled "use SLF4J APIs in new modules?"
as a related topic.
http://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201404.mbox/%3cca+4kjvv_9cmmtdqzcgzy-chslyb1wkgdunxs7wrheslwbuh...@mail.gmail.com%3E

It sounds good to me to use asynchronous logging when we log INFO. One
concern is that asynchronous logging makes debugging difficult - I
don't know log4j 2 well, but I suspect that ordering of logging can be
changed even if WARN or  FATAL are logged with synchronous logger.

Thanks,
- Tsuyoshi

On Thu, Aug 14, 2014 at 6:44 AM, Arpit Agarwal <aagar...@hortonworks.com> wrote:
> I don't recall whether this was discussed before.
>
> I often find our INFO logging to be too sparse for useful diagnosis. A high
> performance logging framework will encourage us to log more. Specifically,
> Asynchronous Loggers look interesting.
> https://logging.apache.org/log4j/2.x/manual/async.html#Performance
>
> What does the community think of switching to log4j 2 in a Hadoop 2.x
> release?
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.

Reply via email to