Skip to content

Commit

Permalink
Merge pull request #1043 from skrashevich/feat-more-usable-exec-log
Browse files Browse the repository at this point in the history
feat(logging): more usable exec log
  • Loading branch information
AlexxIT committed Apr 20, 2024
2 parents 01e2ed2 + adf49b8 commit 2d8ef99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"os"
"os/exec"
"strings"
"sync"
"time"

Expand Down Expand Up @@ -108,7 +109,7 @@ func handleRTSP(url, path string, cmd *exec.Cmd) (core.Producer, error) {
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()

Expand Down

0 comments on commit 2d8ef99

Please sign in to comment.