FreeSpacenav / spacenavd

Free user-space driver for 6-dof space-mice.
http://spacenav.sourceforge.net
GNU General Public License v3.0
279 stars 55 forks source link

feature request: log via syslog() instead of custom log #9

Closed flokli closed 5 years ago

flokli commented 5 years ago

Currently spacenavd does some fd redirection on its own to log its stdout/stderr to a hardcoded file location.

This bypasses syslog and systemd journal.

It would be great if this could be made configurable, or replaced with syslog() calls instead, so syslog daemons or the journal can log or forward it however they seem appropriate.

jtsiomb commented 5 years ago

Added the -l <logfile> or -l syslog command-line option to allow the user to change the log file, or to redirect all log output through syslog.