@@ -395,8 +395,6 @@ func (p *DBTokenProvider) auditInitAutocommitRequest(ctx context.Context, w http
395
395
// Set the commit function on the status writer to create an audit
396
396
// log, this ensures that the status and response body are available.
397
397
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
-
400
398
if sw .Status == http .StatusSeeOther {
401
399
// Redirects aren't interesting as we will capture the audit
402
400
// log after the redirect.
@@ -480,8 +478,6 @@ func (p *DBTokenProvider) auditInitAutocommitRequest(ctx context.Context, w http
480
478
p .Logger .Error (ctx ,"update workspace app audit session failed" ,slog .Error (err ))
481
479
}
482
480
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
-
485
481
if sessionID == uuid .Nil {
486
482
if sw .Status < 400 {
487
483
// Session was updated and no error occurred, no need to