<dependency>
<groupId>com.gizwits</groupId>
<artifactId>LogMonitor</artifactId>
<version>1.0</version>
</dependency>
security.user.name=admin
security.user.password=admin
security.user.role=USER
security.basic.authorize-mode=authenticated
security.enable-csrf=false
logMonitor.logpath=/Users/feel/githome/idea/LogMonitor/logMonitor.log
curl -XGET --insecure --user admin:admin http://localhost:8080/logMonitor/status
输出
{"code":201,"message":"日志系统嗅探状态:start","ref":"http://localhost:8080"}
curl -XGET --insecure --user admin:admin http://localhost:8080/logMonitor/set/shutdown
输出
{"code":201,"message":"日志系统嗅探关闭成功","ref":"http://localhost:8080"}
curl -XGET --insecure --user admin:admin http://localhost:8080/logMonitor/set/start
输出
{"code":201,"message":"日志系统嗅探开启成功","ref":"http://localhost:8080"}
http://localhost:8080/logMonitor