加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
client.bat 963 Bytes
一键复制 编辑 原始数据 按行查看 历史
夏哥188 提交于 2024-06-30 23:06 . bug fix
@echo off
REM This script will add logback jars to your classpath.
set LB_HOME=target
REM echo %LB_HOME%
set LB_VERSION=1.2.11
set API_VERSION=1.7.32
set JEDIS_VERSION=3.1.0
set POOL_VERSION=pool2-2.6.2
set CLASSPATH=%LB_HOME%/logback-classic-%LB_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/logback-core-%LB_VERSION%.jar
REM set CLASSPATH=%CLASSPATH%;%LB_HOME%/logback-examples-%LB_VERSION%.jar
set CLASSPATH=%CLASSPATH%;target/classes
del /f target\classes\logback.xml
set CLASSPATH=%CLASSPATH%;%LB_HOME%/slf4j-api-%API_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/jedis-%JEDIS_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/commons-%POOL_VERSION%.jar
echo %CLASSPATH%
REM log event to server:6000
REM java chapters.appenders.socket.SocketClient1 localhost 6000
REM SOCKET: log event to server:6000, SERVERSOCKET: log listen on 4560
REM java chapters.appenders.socket.SocketClient2 client.xml
java com.xlongwei.logserver.SocketClient2 client.xml
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化