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

Mykola Holovach commented on LOG4J2-3027:
-----------------------------------------

Thanks so much for your replies! Could you explain please one more thing, i'm 
trying to build project, and stuck with some dependencies, i'm using local 
repo, and now i don't understand where to get some dependencies, the list of 
them below
{code:java}
[INFO] Reactor Summary for Apache Log4j 2 Tools 3.0.0-SNAPSHOT:
[INFO] 
[INFO] Apache Log4j 2 Tools ............................... SUCCESS [  0.837 s]
[INFO] Apache Log4j Server components ..................... FAILURE [  0.786 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.285 s
[INFO] Finished at: 2021-02-25T19:27:49+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project log4j-server: Could not resolve 
dependencies for project 
org.apache.logging.log4j:log4j-server:jar:3.0.0-SNAPSHOT: The following 
artifacts could not be resolved: 
org.apache.logging.log4j:log4j-core:jar:3.0.0-SNAPSHOT, 
org.apache.logging.log4j:log4j-jms:jar:3.0.0-SNAPSHOT, 
org.apache.logging.log4j:log4j-layout-jackson-json:jar:3.0.0-SNAPSHOT, 
org.apache.logging.log4j:log4j-layout-jackson-xml:jar:3.0.0-SNAPSHOT, 
com.fasterxml.jackson.core:jackson-databind:jar:2.8.7, 
com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.8.7, 
com.fasterxml.woodstox:woodstox-core:jar:5.0.2, 
org.apache.logging.log4j:log4j-core:jar:tests:3.0.0-SNAPSHOT, 
org.mockito:mockito-core:jar:2.2.7: Could not find artifact 
org.apache.logging.log4j:log4j-core:jar:3.0.0-SNAPSHOT in snapshots (https://...
{code}
As i understading, there uses the version of project from pom.xml
{code:java}
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-tools</artifactId>
  <packaging>pom</packaging>
  <name>Apache Log4j 2 Tools</name>
  <version>3.0.0-SNAPSHOT</version>
{code}
To which version i need to change it to get neede dependecies?

Thank you for your reply!

> TcpSocketServer in latest log4j2 version (2.14.0)
> -------------------------------------------------
>
>                 Key: LOG4J2-3027
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3027
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Appenders
>    Affects Versions: 2.14.0
>         Environment: maven
> tomcat
> java 8
>            Reporter: Mykola Holovach
>            Priority: Blocker
>
> 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!
> {code:java}
> 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
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to