Skip to content

Commit

Permalink
[FIX] entrypoint: fix log error when use the entrypoint in a k8s pod
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanOsAlc authored and ruiztulio committed Nov 29, 2024
1 parent 0447dd2 commit 9175bd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func SetStout(content []byte, w io.Writer) error {
section.Key("stdout_logfile").SetValue("/dev/fd/1")
section.Key("stderr_logfile").SetValue("/dev/fd/1")
section.Key("stdout_logfile_maxbytes").SetValue("0")
section.Key("stderr_logfile_maxbytes").SetValue("0")
}
if _, err := cfg.WriteTo(w); err != nil {
return err
Expand Down

0 comments on commit 9175bd9

Please sign in to comment.