-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb_app.log
59 lines (59 loc) · 17.7 KB
/
web_app.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{"level":"INFO","time":"2021-04-02T16:48:22.393+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-02T16:48:27.451+0800","caller":"logger/logger.go:80","msg":"/","status":404,"method":"GET","path":"/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36","errors":"","cost":0}
{"level":"INFO","time":"2021-04-02T16:48:27.510+0800","caller":"logger/logger.go:80","msg":"/favicon.ico","status":404,"method":"GET","path":"/favicon.ico","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36","errors":"","cost":0}
{"level":"INFO","time":"2021-04-02T16:48:39.457+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-02T16:49:38.229+0800","caller":"logger/logger.go:80","msg":"/","status":404,"method":"GET","path":"/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36","errors":"","cost":0}
{"level":"INFO","time":"2021-04-02T16:49:52.881+0800","caller":"logger/logger.go:80","msg":"/","status":404,"method":"GET","path":"/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36","errors":"","cost":0}
{"level":"INFO","time":"2021-04-02T16:50:06.258+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-02T16:50:07.929+0800","caller":"logger/logger.go:80","msg":"/","status":404,"method":"GET","path":"/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36","errors":"","cost":0}
{"level":"INFO","time":"2021-04-02T17:43:07.599+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:00:05.991+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:02:26.483+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:04:33.588+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:04:37.636+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:05:13.254+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:05:40.146+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:05:43.065+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:06:12.823+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:06:17.443+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:07:22.262+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:07:24.642+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:07:36.748+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:10:09.693+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:11:11.510+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:11:24.114+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0010036}
{"level":"INFO","time":"2021-04-03T11:11:27.845+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009906}
{"level":"INFO","time":"2021-04-03T11:12:09.990+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:12:13.114+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009917}
{"level":"INFO","time":"2021-04-03T11:13:04.702+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009999}
{"level":"INFO","time":"2021-04-03T11:13:06.743+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T11:14:19.034+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T11:14:26.797+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009997}
{"level":"INFO","time":"2021-04-03T12:22:20.576+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:22:53.784+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:23:36.387+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:23:40.977+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:24:36.038+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:24:42.652+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:27:21.293+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:27:58.820+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:28:05.938+0800","caller":"logger/logger.go:80","msg":"/api/v1/supnIn","status":200,"method":"POST","path":"/api/v1/supnIn","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009993}
{"level":"INFO","time":"2021-04-03T12:28:32.865+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:28:39.945+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:29:10.342+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:29:21.998+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:29:31.246+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:30:43.801+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:30:45.686+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:31:16.608+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009997}
{"level":"INFO","time":"2021-04-03T12:31:20.363+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:31:27.406+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0.0009997}
{"level":"INFO","time":"2021-04-03T12:31:44.784+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:32:25.523+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:32:42.845+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"INFO","time":"2021-04-03T12:51:57.215+0800","caller":"logger/logger.go:45","msg":"init logger success"}
{"level":"INFO","time":"2021-04-03T12:52:04.192+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":200,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"ERROR","time":"2021-04-03T12:52:11.617+0800","caller":"logger/logger.go:122","msg":"[Recovery from panic]","error":"runtime error: index out of range [1] with length 1","request":"GET /api/v1/token HTTP/1.1\r\nHost: localhost:7546\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: zh-CN\r\nAuthorization: BearereyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTgwMjg4ODUsImlzcyI6IuW8oOWuquWGsiJ9.jq9I_638J_8Sycdj9v_xtPVFYyi-4dudz7E9x2KBjpQ\r\nConnection: keep-alive\r\nContent-Length: 0\r\nContent-Type: multipart/form-data; boundary=--------------------------915883423688206114287634\r\nUser-Agent: ApiPOST Runtime +https://www.apipost.cn\r\n\r\n","stack":"goroutine 7 [running]:\nruntime/debug.Stack(0x0, 0xc00032a000, 0x1d5)\n\tF:/MyEnvironmentalScience/go1.15/src/runtime/debug/stack.go:24 +0xa5\nwep-app/logger.GinRecovery.func1.1(0xc00031c000, 0x1)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:125 +0x255\npanic(0x15c7a40, 0xc0000f4ac0)\n\tF:/MyEnvironmentalScience/go1.15/src/runtime/panic.go:969 +0x1c7\nwep-app/pkg/jwt.JWTAuthMiddleware.func1(0xc00031c000)\n\tG:/src/zhangGo/src/wep-app/pkg/jwt/jwt.go:79 +0x650\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00031c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/router.Cors.func1(0xc00031c000)\n\tG:/src/zhangGo/src/wep-app/router/router.go:62 +0x265\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00031c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/logger.GinRecovery.func1(0xc00031c000)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:136 +0x5d\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00031c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/logger.GinLogger.func1(0xc00031c000)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:77 +0xa5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00031c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0002d4000, 0xc00031c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:409 +0x685\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0002d4000, 0x16ee840, 0xc0000d81c0, 0xc0000ec100)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 +0x155\nnet/http.serverHandler.ServeHTTP(0xc0002d20e0, 0x16ee840, 0xc0000d81c0, 0xc0000ec100)\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:2843 +0xaa\nnet/http.(*conn).serve(0xc00027ad20, 0x16f0380, 0xc000094480)\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:1925 +0x8ad\ncreated by net/http.(*Server).Serve\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:2969 +0x36d\n"}
{"level":"INFO","time":"2021-04-03T12:52:11.617+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":500,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}
{"level":"ERROR","time":"2021-04-03T12:52:24.413+0800","caller":"logger/logger.go:122","msg":"[Recovery from panic]","error":"runtime error: index out of range [1] with length 1","request":"GET /api/v1/token HTTP/1.1\r\nHost: localhost:7546\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: zh-CN\r\nAuthorization: BearereyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTgwMjg4ODUsImlzcyI6IuW8oOWuquWGsiJ9.jq9I_638J_8Sycdj9v_xtPVFYyi-4dudz7E9x2KBjpQ\r\nConnection: keep-alive\r\nContent-Length: 0\r\nContent-Type: multipart/form-data; boundary=--------------------------338783230752635142438074\r\nUser-Agent: ApiPOST Runtime +https://www.apipost.cn\r\n\r\n","stack":"goroutine 8 [running]:\nruntime/debug.Stack(0x0, 0xc00042c000, 0x1d5)\n\tF:/MyEnvironmentalScience/go1.15/src/runtime/debug/stack.go:24 +0xa5\nwep-app/logger.GinRecovery.func1.1(0xc00041c000, 0x1)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:125 +0x255\npanic(0x15c7a40, 0xc000406040)\n\tF:/MyEnvironmentalScience/go1.15/src/runtime/panic.go:969 +0x1c7\nwep-app/pkg/jwt.JWTAuthMiddleware.func1(0xc00041c000)\n\tG:/src/zhangGo/src/wep-app/pkg/jwt/jwt.go:79 +0x650\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00041c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/router.Cors.func1(0xc00041c000)\n\tG:/src/zhangGo/src/wep-app/router/router.go:62 +0x265\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00041c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/logger.GinRecovery.func1(0xc00041c000)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:136 +0x5d\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00041c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\nwep-app/logger.GinLogger.func1(0xc00041c000)\n\tG:/src/zhangGo/src/wep-app/logger/logger.go:77 +0xa5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00041c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 +0x42\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0002d4000, 0xc00041c000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:409 +0x685\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0002d4000, 0x16ee840, 0xc000416000, 0xc000404000)\n\tC:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 +0x155\nnet/http.serverHandler.ServeHTTP(0xc0002d20e0, 0x16ee840, 0xc000416000, 0xc000404000)\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:2843 +0xaa\nnet/http.(*conn).serve(0xc00027adc0, 0x16f0380, 0xc000330000)\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:1925 +0x8ad\ncreated by net/http.(*Server).Serve\n\tF:/MyEnvironmentalScience/go1.15/src/net/http/server.go:2969 +0x36d\n"}
{"level":"INFO","time":"2021-04-03T12:52:24.413+0800","caller":"logger/logger.go:80","msg":"/api/v1/token","status":500,"method":"GET","path":"/api/v1/token","query":"","ip":"127.0.0.1","user-agent":"ApiPOST Runtime +https://www.apipost.cn","errors":"","cost":0}