Skip to content

Commit a4380f1

Browse files
committed
fix: capture xray logs from stdout only
1 parent c96860c commit a4380f1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

backend/xray/core.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,6 @@ func (c *Core) Start(xConfig *Config, debugMode bool) error {
228228
if err != nil {
229229
return err
230230
}
231-
stderr, err := cmd.StderrPipe()
232-
if err != nil {
233-
return err
234-
}
235231

236232
// Create a new logger for this core instance
237233
c.logger = nodeLogger.New(debugMode)
@@ -262,7 +258,6 @@ func (c *Core) Start(xConfig *Config, debugMode bool) error {
262258

263259
// Start capturing process logs
264260
go c.captureProcessLogs(ctxCore, stdout)
265-
go c.captureProcessLogs(ctxCore, stderr)
266261

267262
return nil
268263
}

0 commit comments

Comments
 (0)