Open EdoFede opened 5 years ago
Hi, have you solved that problem? I have the same situation here, with a Debian 10 virtual machine. For now I filtered (discardes) all sdm120c events in /etc/rsyslog.conf with these code before auth,authpriv. [...] lines, even if it's not a definitive solution.
if $programname == 'sdm120c' then ~ & stop
Andrea
There is a lot of debug data in syslog before the -d 0 is being processed. If you place -d 0 at the start of the command, before -a, the debug data is disabled a lot quicker, but a better way is to alter the default behavoir.
In sdm120c.c line 101, https://github.com/gianfrdp/SDM120C/blob/master/sdm120c.c#L101 it defaults to DEBUG_STDERR and DEBUG_SYSLOG.
int debug_mask = DEBUG_STDERR | DEBUG_SYSLOG; // Default, let pass all
You can change that to debug_mask = 0; so the default is to not output anything unless you enable the debug setting.
int debug_mask = 0; // Default, no debug data
Hi, I saw that sdm120c continues to log stuff into syslog, despite any value is given to the parameter
-d
.For example, with this successfull call:
This is what I found in syslog
Same behavior with
-d 0