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

TcpSocketServer in latest log4j2 version (2.14.0)

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.14.0
    • None
    • Appenders
    • None
    • maven

      tomcat

      java 8

    Description

      Hi, i'm successfully used TcpSocketServer for appending my logs on remote server using log4j2 2.8.2 version by the command bellow, now i need to move to the latest version 2.14.0 but there no TcpSocketServer, could you help me to explain how to up and use something like TcpSocketServer on the newest version? Thanks in advance!

      java -server -cp log4j-core-2.8.2.jar:log4j-api-2.8.2.jar:jcommander-1.48.jar org.apache.logging.log4j.core.net.server.TcpSocketServer -p 1101 -c logfinal-log4j.xml --classes java.util.ArrayList
      

       

       

      Attachments

        1. log4j-server-2.14.0.jar
          31 kB
          Mykola Holovach
        2. logfinal-log4j.xml
          2 kB
          Mykola Holovach

        Activity

          People

            Unassigned Unassigned
            mholovach Mykola Holovach
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: