SingleStoreDB Studio Log Rotation
The systemd-journald
service, a component of systemd
, collects logs from both applications and the kernel and writes them to the /var/log/journal
directory. (Note that the directory location can change if the journal files are designated to use in-memory storage.) These logs can then be viewed and queried using the journalctl
utility.
If the singlestoredb-studio
service is managed using systemd
, the systemd-journald
service will also collect logs from Studio.
The systemd-journald
configuration file, typically located in /etc/systemd/journald.conf
, can be configured to periodically rotate these journal files based on file size or time, as well as forward log entries to the syslog
daemon or other destinations. For more information, see the journald.conf
man page.