Skip to content

Commit 04958c1

Browse files
committed
fix: remove debug logs
1 parent d2205cb commit 04958c1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

services/tasks/TaskRunner_logging.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,7 @@ func (t *TaskRunner) logPipe(reader io.Reader) {
152152
defer t.logWG.Done()
153153

154154
for line := range linesCh {
155-
time := tz.Now()
156-
157-
if len(linesCh) > 10000 {
158-
fmt.Println("TaskRunner log buffer is full ", len(linesCh))
159-
}
160-
161-
t.LogWithTime(time, line)
155+
t.Log(line)
162156
}
163157
}()
164158

0 commit comments

Comments
 (0)