Skip to content

Commit f5a4aac

Browse files
committed
Videos: Log ffmpeg command in debug mode photoprism#5189
Signed-off-by: Michael Mayer <[email protected]>
1 parent c36bb56 commit f5a4aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/photoprism/convert_image.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ func (w *Convert) ToImage(f *MediaFile, force bool) (result *MediaFile, err erro
157157

158158
log.Infof("convert: converting %s to %s (%s)", clean.Log(filepath.Base(fileName)), clean.Log(filepath.Base(imageName)), filepath.Base(cmd.Path))
159159

160-
// Log exact command for debugging in trace mode.
161-
log.Trace(cmd.String())
160+
// Log exact command in debug mode.
161+
log.Debug(cmd.String())
162162

163163
// Run convert command.
164164
if err = cmd.Run(); err != nil {

0 commit comments

Comments
 (0)