[
https://issues.apache.org/jira/browse/JENA-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Osma Suominen resolved JENA-1510.
---------------------------------
Resolution: Fixed
Assignee: Osma Suominen
Fix Version/s: Jena 3.7.0
I've incorporated the (commented out) changes that you suggested to the systemd
unit file. Thanks!
> Add logging to systemd unit file for Fuseki
> -------------------------------------------
>
> Key: JENA-1510
> URL: https://issues.apache.org/jira/browse/JENA-1510
> Project: Apache Jena
> Issue Type: Brainstorming
> Components: Fuseki
> Reporter: Joachim Neubert
> Assignee: Osma Suominen
> Priority: Minor
> Fix For: Jena 3.7.0
>
>
> 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|https://stackoverflow.com/questions/37585758/how-to-redirect-output-of-systemd-service-to-a-file]
> and added
> {code}
> StandardOutput=syslog
> StandardError=syslog
> SyslogIdentifier=fuseki
> {code}
> which logs to rsyslog. A /etc/rsyslog.d/fuseki.conf file then defines the
> actual log location:
> {code}
> if $programname == 'fuseki' then /var/log/fuseki/stderrout.log
> if $programname == 'fuseki' then stop
> {code}
> which worked nicely. I suppose it could be useful for others, too. What do
> you think?
> Ping [~osma] who created the systemd unit file (JENA-1501).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)