Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1510

Add logging to systemd unit file for Fuseki

    XMLWordPrintableJSON

Details

    • Brainstorming
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Jena 3.7.0
    • Fuseki
    • 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?

      Ping osma who created the systemd unit file (JENA-1501).

      Attachments

        Activity

          People

            osma Osma Suominen
            jneubert Joachim Neubert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: