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/09 07:22:58 UTC

[jira] [Updated] (LOG4J2-1775) Add starter pom files for dependency management

     [ https://issues.apache.org/jira/browse/LOG4J2-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker updated LOG4J2-1775:
--------------------------------
    Description: 
Create what is essentially Log4j Boot for adding necessary dependencies to support the various plugins while at the same time promoting the use of log4j-api as a general purpose logging API standard. These modules would categorise all the various natural dependency barriers for a sort of pseudo module system that could also help in any necessary module metadata needed to support Java 9 and OSGi, categorise integration style unit tests to help test the starters themselves in an automated way, and organise the site in such a way as to make it easier to integrate different git repositories as we modularise the core in general.



  was:
Create what is essentially Log4j Boot for adding necessary dependencies to support the various plugins while at the same time promoting the use of log4j-api as a general purpose logging API standard. These modules would categorise all the various natural dependency barriers for a sort of pseudo module system that could also help in any necessary module metadata needed to support Java 9 and OSGi, categorise integration style unit tests to help test the starters themselves in an automated way, and organise the site in such a way as to make it easier to integrate different git repositories as we modularise the core in general.

{code}
groupId: org.apache.logging.log4j.starter
artifactId: log4j-starter-*
{code}

* core: just log4j-core basically
* async (for AsyncLogger; brings in LMAX disruptor)
* log4j-spi: log4j-slf4j-impl, log4j-jul, log4j-jcl, log4j-1.2-api
* slf4j-spi: slf4j-impl, jcl-over-slf4j, jul-to-slf4j (same dependency set as spring-boot-starter-log4j2)
* logback (for log4j-to-slf4j, slf4j-spi, logback; this helps aid migration to log4j-api and promotes it as a general use logging API)
* appender-async-conversant
* appender-async-jctools
* appender-cassandra
* appender-couchdb
* appender-jms
* appender-jpa
* appender-kafka
* appender-mongodb
* appender-smtp
* appender-zeromq
* config-json
* config-yaml
* layout-csv
* layout-jansi (for windows users and coloured log messages)
* layout-json (unless this has been ported to not require jackson anymore?)
* layout-xml
* layout-yaml
* script-groovy

I may have missed a few, but the base set of starters should at least correspond to all optional dependencies in log4j-core or the addon modules. For the jms, jpa, and smtp (log4j-core) appenders, we could either make add in a default provider (e.g., ActiveMQ, Hibernate, and Sun Mail respectively) or split those into provider-specific starters.


> Add starter pom files for dependency management
> -----------------------------------------------
>
>                 Key: LOG4J2-1775
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1775
>             Project: Log4j 2
>          Issue Type: Epic
>          Components: Documentation, Plugins, Starters
>            Reporter: Matt Sicker
>              Labels: build, documentation, features, maven, test
>
> Create what is essentially Log4j Boot for adding necessary dependencies to support the various plugins while at the same time promoting the use of log4j-api as a general purpose logging API standard. These modules would categorise all the various natural dependency barriers for a sort of pseudo module system that could also help in any necessary module metadata needed to support Java 9 and OSGi, categorise integration style unit tests to help test the starters themselves in an automated way, and organise the site in such a way as to make it easier to integrate different git repositories as we modularise the core in general.



--
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