Join us at Scylla Summit 2022 on Feb 9-10 Register for Free
Learn More


Logging with the systemd journal (CentOS, Amazon AMI, Ubuntu, Debian)

On distributions with systemd, Scylla logs are written to the systemd journal. You can retrieve log entries with the journalctl command.

Listed below are a few useful examples.

  • get logs generated by the “scylla” user:

    journalctl _UID=`id -u scylla`
  • get logs generated by the “scylla” command:

    journalctl _COMM=scylla
  • filter only Scylla logs by priority:

    journalctl _COMM=scylla -p err..emerg
    journalctl _COMM=scylla -p warning
  • filter only Scylla logs by date:

    journalctl _COMM=scylla --since="2013-3-16 23:59:59"
    journalctl _COMM=scylla --since "2015-01-10" --until "2015-01-11 03:00"`
    journalctl _COMM=scylla --since yesterday
  • filter only Scylla logs since last server boot:

    journalctl _COMM=scylla -b

Logging on Ubuntu 14.04

On Ubuntu 14.04, Scylla writes its initial boot message into /var/log/upstart/scylla-server.log.

After Scylla has started, logs are stored in /var/log/syslog. Scylla logs can be filter by creating a rsyslog configuration file with the following rule (for example, in /etc/rsyslog.d/10-scylla.conf)

:syslogtag, startswith, "scylla" /var/log/scylla/scylla.log
& ~

And then creating the log file with the correct permissions and restarting the service:

install -o syslog -g adm -m 0640 /dev/null /var/log/scylla/scylla.log
service rsyslog restart

This will send Scylla only logs to /var/log/scylla/scylla.log

Logging on Docker

Starting from Scylla 1.3, Scylla Docker, you should use docker logs command to access Scylla server and JMX proxy logs

Getting Started