You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2017/01/01 01:48:58 UTC

[jira] [Commented] (LOG4J2-1442) Add generic HTTP verb appender

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

Matt Sicker commented on LOG4J2-1442:
-------------------------------------

I was thinking about this the other night. It may be useful to abstract the HttpClient idea here similar to what Spring does so that an HttpClient implementation can be provided at runtime. The default one would just use HttpURLConnection, but an Apache HttpClient and Netty version would be useful, too. Of course, this should be a minimal HttpClient adapter and not some full featured client like the Apache one.

> Add generic HTTP verb appender
> ------------------------------
>
>                 Key: LOG4J2-1442
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1442
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Appenders
>            Reporter: Matt Sicker
>            Assignee: Mikael Ståldal
>
> Inspired by [this mailing list post|http://apache-logging.6191.n7.nabble.com/Custom-appender-needed-to-HTTP-POST-log-msgs-td52921.html]. This would in one swoop support various APIs such as:
> * Slack and other ChatOps software
> * ElasticSearch
> * ...I'm sure there's more
> Basic features that would be needed are:
> * HTTP verb
> * headers
> * body



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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