Merge pull request #1043 from skrashevich/feat-more-usable-exec-log

feat(logging): more usable exec log
This commit is contained in:
Alex X
2024-04-20 12:09:55 +03:00
committed by GitHub
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"fmt" "fmt"
"os" "os"
"os/exec" "os/exec"
"strings"
"sync" "sync"
"time" "time"
@@ -108,7 +109,7 @@ func handleRTSP(url, path string, cmd *exec.Cmd) (core.Producer, error) {
waitersMu.Unlock() waitersMu.Unlock()
}() }()
log.Debug().Str("url", url).Msg("[exec] run") log.Debug().Str("url", url).Str("cmd", fmt.Sprintf("%s", strings.Join(cmd.Args, " "))).Msg("[exec] run")
ts := time.Now() ts := time.Now()