We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2546809 commit 2638426Copy full SHA for 2638426
agent/app/service/website.go
@@ -1120,7 +1120,11 @@ func (w WebsiteService) OpWebsiteLog(req request.WebsiteLogReq) (*response.Websi
1120
params := []string{logPath}
1121
switch req.LogType {
1122
case constant.AccessLog:
1123
- params = append(params, "main")
+ if website.Type != constant.Stream {
1124
+ params = append(params, "main")
1125
+ } else {
1126
+ params = append(params, "streamlog")
1127
+ }
1128
website.AccessLog = true
1129
case constant.ErrorLog:
1130
key = "error_log"
0 commit comments