hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HTTPCLIENT-1664) Migrate away from Commons Logging to SLF4J
Date Wed, 03 May 2017 00:23:04 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994091#comment-15994091
] 

Remko Popma edited comment on HTTPCLIENT-1664 at 5/3/17 12:22 AM:
------------------------------------------------------------------

I'm of the [opinion|http://stackoverflow.com/a/41635246/1446916] that is SLF4J showing its
age. (I contribute to Log4j2 and I'm biased.)

Key advantage the Log4j2 API is that it allows garbage free logging.  Libraries like HttpClient
should aim to be garbage free (at least during steady state operation).  It would not make
sense to pick a logging API that prevents that. 


was (Author: remkop@yahoo.com):
I'm of the [opinion|http://stackoverflow.com/a/41635246/1446916] that is SLF4J showing its
age. (I contribute to Log4j2 and I'm likely biased.)

Key advantage the Log4j2 API is that it allows garbage free logging.  Libraries like HttpClient
should aim to be garbage free (at least during steady state operation).  It would not make
sense to pick a logging API that prevents that. 

> Migrate away from Commons Logging to SLF4J
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1664
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1664
>             Project: HttpComponents HttpClient
>          Issue Type: Task
>          Components: HttpClient (classic)
>    Affects Versions: 5.0
>            Reporter: Michael Osipov
>            Priority: Minor
>             Fix For: 5.0 Alpha2
>
>
> Commons Log is old and has several serious issue. HttpClient 5.0 should completely migrate
away from it. SLF4J is an extremely wide support logging facade.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message