问题
I have this command:
"C:/Path/to/maven/bin/mvn" tomcat:run-war -f D:/Path/to/pomProject/pom.xml -Dmaven.tomcat.port=8282 -s "D:/Path/to/maven/settings/settings.xml"
I know --log-file
to redirect my logs to some file.
Now, I have a Listener Applications for Logs, in the Port 514 in another Host...
Host 192.168.97.100
Port 514
How redirect using Maven? Is it possible or another alternative?
来源:https://stackoverflow.com/questions/58628509/maven-redirect-output-logs-logging-to-remote-server