Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log:exec:error does not log error #846

Closed
wrohdewald opened this issue Dec 26, 2023 · 3 comments
Closed

log:exec:error does not log error #846

wrohdewald opened this issue Dec 26, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@wrohdewald
Copy link

in my case I made a syntax error calling rpicam-vid. stderr from rpicam-vid is only logged by go2rtc with level trace.

Could you please consider logging stderr output with loglevel error?

Otherwise - I know this is not a go2rtc error - but if you explicitly do not want to log stderr as errors, could you please mention that in the documentation?

@AlexxIT AlexxIT added the enhancement New feature or request label Dec 28, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 28, 2023

For now exec stderr goto go2rtc stderr (works only for debug log level for exec module)

cmd.Stderr = os.Stderr

I understand what you want. Maybe someday

@AlexxIT AlexxIT self-assigned this Apr 23, 2024
@AlexxIT AlexxIT added this to the v1.9.3 milestone May 27, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 27, 2024

Changes in next version:

  • Viewer will receive stderr from exec module (first 512 bytes) no matter what the log level
  • Exec module will log stderr messages on debug log level (because ffmpeg very spamming)
  • FFmpeg module will have personal log level (error by defaul)

@AlexxIT
Copy link
Owner

AlexxIT commented Jun 6, 2024

@AlexxIT AlexxIT closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants