gstd-1.x
gstd-1.x copied to clipboard
Q: How to disable gst.log and gstd.log
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 ?
Anyone ? Are you all happy with massive (2mbit/s) logs ?
Hey @TopperBG . I can think of 3 options:
- 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
- These logs are only saved while in daemon mode. By running gstd in foreground mode these logs are not logged to any file.
- I've opened #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.
Hello @michaelgruner, thanks for suggestions
- Tested but still fills the logs
- Not an option for me to run in foreground
- With empty -L option?