Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2011

replace JCommander with picocli

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Core, Servers
    • None

    Description

      As discussed in the mailing list, replace uses of JCommander with picocli to get

      • customizable usage help
      • usage help with ANSI colors
      • better support for positional parameters (so we can use positional parameters for mandatory arguments and options for optional arguments)
      • include picocli as source so users can run these applications without requiring an external dependency

      Candidates for usage are:

      log4j-core

      • CustomLoggerGenerator
      • ExtendedLoggerGenerator
      • Generate
      • PluginManager

      log4j-jmx-gui

      • ClientGui

      log4j-1.2-api

      • Log4j1ConfigurationConverter

      logging-log4j-tools/log4j-server

      • AbstractSocketServer
      • TcpSocketServer
      • UdpSocketServer

      Attachments

        Activity

          People

            rpopma Remko Popma
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: