Details
-
Brainstorming
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently, the fuseki.service logs to journalctl, which is the systemd default mechanism, and not to any fuseki-specific log file. Since I want to have (and probably keep) such files, I've followed a solution on stackoverflow and added
StandardOutput=syslog StandardError=syslog SyslogIdentifier=fuseki
which logs to rsyslog. A /etc/rsyslog.d/fuseki.conf file then defines the actual log location:
if $programname == 'fuseki' then /var/log/fuseki/stderrout.log if $programname == 'fuseki' then stop
which worked nicely. I suppose it could be useful for others, too. What do you think?