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

Q: How to disable gst.log and gstd.log #274

Open
TopperBG opened this issue Feb 25, 2022 · 3 comments
Open

Q: How to disable gst.log and gstd.log #274

TopperBG opened this issue Feb 25, 2022 · 3 comments
Assignees

Comments

@TopperBG
Copy link

Self explain question?
Options -l and -d give us abilty to change place of logs but not to turn it off completly.
Also is it posible to disable json response at all ?

@TopperBG
Copy link
Author

Anyone ? Are you all happy with massive (2mbit/s) logs ?

@michaelgruner
Copy link
Contributor

Hey @TopperBG . I can think of 3 options:

  1. These logs are managed by the GStreamer debugging subsystem, so you can disable them or reduce them:
gst-client debug_enable false # disable debug
gst-client debug_threshold gstd*:2 # limit gstd logging to warnings and errors
  1. These logs are only saved while in daemon mode. By running gstd in foreground mode these logs are not logged to any file.
  2. I've opened Feature/allow disabling daemon logs #281 to add the functionality you requested. Now, by passing -L, no log files will be opened even in daemon mode. I'll merge once approved.

@TopperBG
Copy link
Author

Hello @michaelgruner, thanks for suggestions

  1. Tested but still fills the logs
  2. Not an option for me to run in foreground
  3. With empty -L option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants