You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by os...@apache.org on 2018/03/28 07:29:22 UTC

jena git commit: JENA-1510: Add section on how to configure syslog logging for fuseki systemd service.

Repository: jena
Updated Branches:
  refs/heads/master ac4d695af -> 635466a1e


JENA-1510: Add section on how to configure syslog logging for fuseki systemd service.


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/635466a1
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/635466a1
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/635466a1

Branch: refs/heads/master
Commit: 635466a1ecef8130ea3f0abc3056bcbf7c86b6da
Parents: ac4d695
Author: Osma Suominen <os...@helsinki.fi>
Authored: Wed Mar 28 10:28:15 2018 +0300
Committer: Osma Suominen <os...@helsinki.fi>
Committed: Wed Mar 28 10:28:15 2018 +0300

----------------------------------------------------------------------
 jena-fuseki2/apache-jena-fuseki/fuseki.service | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/635466a1/jena-fuseki2/apache-jena-fuseki/fuseki.service
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/fuseki.service b/jena-fuseki2/apache-jena-fuseki/fuseki.service
index a9a8eb5..3157983 100644
--- a/jena-fuseki2/apache-jena-fuseki/fuseki.service
+++ b/jena-fuseki2/apache-jena-fuseki/fuseki.service
@@ -41,6 +41,16 @@ ExecStart=/opt/fuseki/fuseki-server
 # Run as user "fuseki"
 User=fuseki
 Restart=on-abort
+### By default, the service logs to journalctl only.
+### If additional logging to a file is required, uncomment the following three lines
+# StandardOutput=syslog
+# StandardError=syslog
+# SyslogIdentifier=fuseki
+### This logs to syslog. If, e.g., rsyslogd is used, you can provide a file
+### /etc/rsyslog.d/fuseki.conf, consisting of the following two lines (uncommented)
+### if $programname == 'fuseki' then /var/log/fuseki/stderrout.log
+### if $programname == 'fuseki' then stop
+
 
 [Install]
 WantedBy=multi-user.target