Hi,
I'd like to pipe the output of slinktool (stdout and stderr) into syslog, but I don't get all the messages.
I only get messages logged with the function sl_log_r (slconn, ...) but not the messages logged with the finction sl_log(...).
The documentation is clear about the mesage level and verbosity level, still, I miss the logs like "Createing directory ..." from src/dsarchive.c: when piping slinktool's output.
To reproduce:
Whith this command I can see the "Creating directory ..." line
Hi, I'd like to pipe the output of slinktool (stdout and stderr) into syslog, but I don't get all the messages.
I only get messages logged with the function
sl_log_r (slconn, ...)
but not the messages logged with the finctionsl_log(...)
.The documentation is clear about the mesage level and verbosity level, still, I miss the logs like "Createing directory ..." from
src/dsarchive.c:
when piping slinktool's output.To reproduce: Whith this command I can see the "Creating directory ..." line
With this command, they are not getting piped, I loose them:
What do I want to accomplish ? I'd like to add a log on data stream file creation, capture it as an event to do stuff. I added this line:
I can see the log when running slinktool, but it disapears when I pipe it out.