infra/docs/nextcloud.md
teutat3s c53d48384a
Some checks failed
Flake checks / Check (pull_request) Has been cancelled
nextcloud: document how to get debugging logs
2024-10-16 17:19:49 +02:00

20 lines
356 B
Markdown

# Nextcloud debugging
Set loglevel to `0` for debug logs:
```nix
services.nextcloud.settings.loglevel = 0;
```
Then, logs appear in the `phpfpm-nextcloud.service` logs:
```bash
sudo journalctl -fu phpfpm-nextcloud
```
Make sure to set the loglevel back to the default `2` warning after debugging:
```nix
services.nextcloud.settings.loglevel = 2;
```