Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee7c5fa

Browse files
committed
remove log spam
1 parentf92fde9 commitee7c5fa

File tree

1 file changed

+0
-4
lines changed
  • coderd/workspaceapps

1 file changed

+0
-4
lines changed

‎coderd/workspaceapps/db.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,6 @@ func (p *DBTokenProvider) auditInitAutocommitRequest(ctx context.Context, w http
395395
// Set the commit function on the status writer to create an audit
396396
// log, this ensures that the status and response body are available.
397397
sw.AddDoneFunc(func() {
398-
p.Logger.Info(ctx,"workspace app audit session",slog.F("status",sw.Status),slog.F("body",string(sw.ResponseBody())),slog.F("api_key",aReq.apiKey),slog.F("db_req",aReq.dbReq))
399-
400398
ifsw.Status==http.StatusSeeOther {
401399
// Redirects aren't interesting as we will capture the audit
402400
// log after the redirect.
@@ -480,8 +478,6 @@ func (p *DBTokenProvider) auditInitAutocommitRequest(ctx context.Context, w http
480478
p.Logger.Error(ctx,"update workspace app audit session failed",slog.Error(err))
481479
}
482480

483-
p.Logger.Info(ctx,"workspace app audit session",slog.F("session_id",sessionID),slog.F("status",sw.Status),slog.F("body",string(sw.ResponseBody())))
484-
485481
ifsessionID==uuid.Nil {
486482
ifsw.Status<400 {
487483
// Session was updated and no error occurred, no need to

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp