gstd-1.x icon indicating copy to clipboard operation
gstd-1.x copied to clipboard

gstd does not create log files gstd.log and gst.log

Open chirag-b opened this issue 2 years ago • 3 comments

Hello,

When I start gstd using the command gstd, the log directory /usr/local/var/log/gstd/ is empty.

I also tried to set a custom path to gstd.log and gst.log using the following command but I do not see any log files being created gstd --gstd-log-filename /opt/nvidia/gstd.log --gst-log-filename /opt/nvidia/gst.log

On another note, I am running gstd as a non-root user. I have tried to run gstd as root before and I have the same issue.

Am I missing something?

Thank you.

chirag-b avatar Jun 17 '22 22:06 chirag-b

I'm seeing the same issue

/usr/local/bin/gstd -l /data/logs/gst.log -d /data/logs/gstd.log -f /tmp/ --gst-debug-level=2 but no logfiles

clogwog avatar Jun 22 '22 08:06 clogwog

Same issue here... used to produce the log files, now doesn't... any easy answer ? or should I go digging for one ?

apocnz avatar Mar 21 '23 12:03 apocnz

Hi all, sorry for the slow response. GStreamer Daemon doesn't demonize itself by default anymore. The default behavior is to run on foreground, where gst debug logs are written to stderr, similar to other gst based apps.

The logs and PID files are written when gstd is running in daemon mode. You can get this behavior by starting gstd with the -e or --daemon options.

michaelgruner avatar Mar 21 '23 15:03 michaelgruner