Commit 0714cb3c by 孙龙

init

parent 04f89b1e
......@@ -10,3 +10,6 @@ dns="amqp://guest:guest@192.168.2.232:5672/"
[mongodb_databases]
dns="mongodb://ichunt:huntmon6699@192.168.1.237:27017/ichunt?authMechanism=SCRAM-SHA-1"
[logSaveConfig]
time=120
length=1000
\ No newline at end of file
2020-02-13 17:33:18.762 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:33:27.427 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:34:16.595 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:35:10.521 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:36:10.066 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:36:52.347 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:36:57.067 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 17:37:43.885 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:01.406 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:35.107 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:39.176 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:39.824 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:40.447 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:40.936 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:41.408 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:45.43 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:46.037 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:46.869 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:51.22 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:51.8 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:55.066 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:55.604 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 20:32:56.131 INFO (main.go:main.(*RecvPro).Consumer:25) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-13 16:37:58.629 INFO (main.go:main.(*RecvPro).Consumer:24) {
"interface_type":"登录",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 14:03:38.963 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 14:03:39.776 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 14:03:40.492 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 14:03:54.056 INFO (main.go:main.(*RecvPro).Consumer:21)
2020-02-14 14:04:14.072 INFO (main.go:main.(*RecvPro).Consumer:21)
2020-02-14 14:04:34.084 INFO (main.go:main.(*RecvPro).Consumer:21)
2020-02-14 15:41:54.946 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:40.435 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:43.293 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:52.098 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:52.668 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:54.054 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:54.496 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:55.534 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:56.415 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:42:59.483 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:43:00.167 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:43:05.215 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:06.174 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:06.175 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:06.175 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:06.197 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:13.125 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:13.805 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:14.488 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:15.103 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:15.677 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:56.986 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:57.893 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:58.732 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:46:59.565 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:47:05.817 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:50:02.161 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:50:04.396 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:50:05.404 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:50:06.198 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:50:08.449 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:53:00.49 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:53:03.215 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:53:03.834 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:53:04.529 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 15:53:05.136 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 14:04:34.084 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 14:04:34.084 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 14:04:34.084 ERROR (main.go:main.(*RecvPro).FailAction:35)
2020-02-14 16:43:31.925 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 16:43:31.925 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 16:43:31.925 ERROR (main.go:main.(*RecvPro).FailAction:35) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
"create_time_str":"2020-02-14 16:40"
}
2020-02-14 16:43:33.326 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 16:43:33.326 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 16:43:33.326 ERROR (main.go:main.(*RecvPro).FailAction:35) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
"create_time_str":"2020-02-14 16:40"
}
2020-02-14 16:43:33.971 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 16:43:33.971 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 16:43:33.971 ERROR (main.go:main.(*RecvPro).FailAction:35) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
"create_time_str":"2020-02-14 16:40"
}
2020-02-14 16:43:34.603 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 16:43:34.603 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 16:43:34.603 ERROR (main.go:main.(*RecvPro).FailAction:35) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
"create_time_str":"2020-02-14 16:40"
}
2020-02-14 16:43:35.147 ERROR (main.go:main.(*RecvPro).FailAction:33) 任务处理失败了,我要进入db日志库了
2020-02-14 16:43:35.147 ERROR (main.go:main.(*RecvPro).FailAction:34) 任务处理失败了,发送钉钉消息通知主人
2020-02-14 16:43:35.147 ERROR (main.go:main.(*RecvPro).FailAction:35) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
"create_time_str":"2020-02-14 16:40"
}
2020-02-14 12:31:06.443 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:32:33.656 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:34:40.944 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:38:17.19 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:39:50.085 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:40:14.974 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:41:45.888 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:42:22.43 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:42:43.098 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:43:27.744 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:45:57.786 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:45:57.789 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:07.633 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:19.849 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:46.969 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:53.937 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:58.394 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:46:58.905 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:01.291 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:54.469 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:54.469 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:54.471 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:54.501 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:54.507 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:47:59.875 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:48:00.772 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:48:01.345 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:48:01.876 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:48:05.291 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:48:06.442 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:26.265 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:27.523 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:28.26 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:28.873 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:54.926 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:55.436 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:49:55.974 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:08.286 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:17.794 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:23.146 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:33.154 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:33.665 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:37.463 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:38.23 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:51.528 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:52.124 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:52.712 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 12:50:53.267 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:25:40.712 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:25:47.871 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:26:15.568 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:26:15.568 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:26:15.569 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:10.49 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:10.781 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:54.895 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:54.897 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:54.897 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:55.429 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:31:56.176 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:38.511 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:38.516 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:38.52 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:38.544 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:39.21 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:39.876 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:40.572 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:41.661 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:42.571 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:43.229 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:32:46.283 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.454 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.455 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.469 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.492 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.493 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.5 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.531 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.534 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:35.537 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:38.222 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:38.904 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:39.602 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:40.182 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:40.975 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:41.59 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:42.193 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:42.724 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:49.645 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:50.224 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:33:51.035 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:34:06.624 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:25.704 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:25.705 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:25.71 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:30.135 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:36.575 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:40.586 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:41.253 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:41.763 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:45.042 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:45.585 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:46.069 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:52.819 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:35:53.329 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-14 13:36:12.922 INFO (main.go:main.(*RecvPro).Consumer:21) {
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
"err_code":"40004",
"uid":"16678",
"user_name":"张三",
"user_ip":"153.2.15.1",
"create_time":1581582711
}
2020-02-20 15:41:27.12 ERROR (main.go:main.(*RecvPro).Consumer:22) %!s(<nil>)
......@@ -51,7 +51,8 @@ func (logSink *LogSink) writeLoop() {
//timeoutBatch *LogBatch // 超时批次
)
t := time.NewTimer(time.Second * 20)
sleepTime := time.Duration(int64(util.Configs.LogSaveConfig.Time))
t := time.NewTimer(time.Second * sleepTime)
defer t.Stop()
for {
select {
......@@ -64,7 +65,7 @@ func (logSink *LogSink) writeLoop() {
// 把新日志追加到批次中
logBatch.Logs = append(logBatch.Logs, log)
// 如果批次满了, 就立即发送
if len(logBatch.Logs) >= 100 {
if len(logBatch.Logs) >= int(util.Configs.LogSaveConfig.Length) {
// 发送日志
logSink.saveLogs(logBatch)
// 清空logBatch
......
......@@ -17,7 +17,7 @@ type RecvPro struct {
//// 实现消费者 消费消息失败 自动进入延时尝试 尝试3次之后入库db
func (t *RecvPro) Consumer(dataByte []byte) error {
//fmt.Println(string(dataByte))
fmt.Println(string(dataByte))
err := apiMsgService.SaveMsgToLogChan(string(dataByte))
if err != nil{
logger.Error("%s",err)
......
......@@ -13,6 +13,7 @@ type Config struct{
Ding_msg *Ding
Api_domain *ApiDomain
Mongodb_databases *MongodbDatabases
LogSaveConfig *LogSaveConfigs
}
......@@ -32,6 +33,11 @@ type MongodbDatabases struct {
Dns string `toml:"dns"`
}
type LogSaveConfigs struct {
Time int `toml:"time"`
Length int `toml:"length"`
}
type SendMail struct{
SendMailUrl string `toml:"send_mail"`
}
......@@ -63,4 +69,5 @@ func Init(ConfigDir string){
//fmt.Printf("%+v",Configs.Crm_domain)
//fmt.Printf("%+v",Configs.Rabbitmq_ichunt)
//fmt.Printf("%+v",Configs.Mongodb_databases)
fmt.Printf("%+v",Configs.LogSaveConfig)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment