Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Manual. Switch to the latest stable version.
Logging¶
Logging with the systemd journal¶
ScyllaDB 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 ScyllaDB logs by priority:
journalctl _COMM=scylla -p err..emerg
journalctl _COMM=scylla -p warning
filter only ScyllaDB 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 ScyllaDB logs since last server boot:
journalctl _COMM=scylla -b
Logging on Docker¶
To access ScyllaDB server logs when running ScyllaDB in Docker, use the docker logs command.