> For the complete documentation index, see [llms.txt](https://docs.chaintools.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chaintools.tech/home/tooling-guides/configure-journalctl.md).

# Configure journalctl

### Check how much disk space is allocated for journalctl

```bash
sudo journalctl --disk-usage
```

### Adjust journalctl diskspace allocation

In file `/etc/systemd/journald.conf` locate and adjust line ***SystemMaxUse=50M***. Allocation of 50M is an example. By default this parameter might be commented in configuration file.

### Restart journal to apply new settings and clean up history

```bash
sudo systemctl kill --kill-who=main --signal=SIGUSR2 systemd-journald.service
sudo systemctl restart systemd-journald.service
```
