You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So for every 'v' the verbosity level is incremented. In the C++ code, most calls to InsaneDaemon::log(...) use log levels ranging from 0 to 2. But even with "-vv", none of these logs are printed to /var/log/insaned.log. Some of the log messages should be written when an scanner button event triggers. The default log file is used.
Another issue:
When placing "-vv" at the beginning of the INSANED_EXTRAOPTS string, the daemon fails during startup. Example:
$ sudo systemctl restart insaned
Job for insaned.service failed because the control process exited with error code. See "systemctl status insaned.service" and "journalctl -xe" for details.
Looks like systemd does not split ${INSANED_EXTRAOPTS} on whitespace and passes all of it as one big parameter, but it is not recognized as error... I'll try to reproduce this on my ubuntu machine.
Maybe removing quotes from INSANED_EXTRAOPTS="-vv --sleep-ms=1000 --suspend-after-event" will help.
I tried, but the double quotes are not the problem. I removed the curly braces { } around the $INSANED_EXTRAOPTS variable in the insaned.service file. Then systemd stopped complaining.
I wanted to get more verbose logging from insaned and provided more v's to INSANED_EXTRAOPTS like this:
So for every 'v' the verbosity level is incremented. In the C++ code, most calls to InsaneDaemon::log(...) use log levels ranging from 0 to 2. But even with "-vv", none of these logs are printed to /var/log/insaned.log. Some of the log messages should be written when an scanner button event triggers. The default log file is used.
Another issue:
When placing "-vv" at the beginning of the INSANED_EXTRAOPTS string, the daemon fails during startup. Example:
System: Linux Mint 19 Cinnamon
The text was updated successfully, but these errors were encountered: