List of Logs on NCP

Defaults

NextcloudPi /var/log/ncp.log
Nextcloud [datadir]/nextcloud.log ---- e.g. /var/www/nextcloud/data/nextcloud.log
PHP*-FPM * /var/log/php*-fpm.log — e.g. /var/log/php8.3-fpm.log
* Depends on the PHP version installed
Fail2Ban /var/log/fail2ban.log
ModSecurity Audit /var/log/apache2/modsec_audit.log
Lynis /var/log/lynis.log
UFW /var/log/ufw.log
Authentication /var/log/auth.log
Letsencrypt /var/log/letsencrypt/letsencrypt.log
mySQL journalctl -u mariadb
Redis /var/log/redis-server.log
Samba /var/log/samba
Kernel /var/log/kern.log
System log /var/log/syslog
Daemon /var/log/daemon.log
DPKG /var/log/dpkg.log
Messages /var/log/messages
Alternatives /var/log/alternatives.log
User log /var/log/user.log
Mail log /var/log/mail.log
Mail info /var/log/mail.info
Mail warnings /var/log/mail.warn
Prometheus /var/log/prometheus
Unattended-upgrades dpkg upgrades log /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Unattended-upgrades /var/log/unattended-upgrades/unattended-upgrades.log
Unattended-upgrades shutdown log /var/log/unattended-upgrades/unattended-upgrades-shutdown.log
Wicd /var/log/wicd
Internal Directory /var/log/
External Drive Directory /media/USBdrive/ncdata/

External

Nextcloud /media/USBdrive/ncdata/nextcloud.log
Updater /media/USBdrive/ncdata/updater.log
Audit /media/USBdrive/ncdata/audit.log

APT

History /var/log/apt/history.log
Terminal /var/log/apt/term.log

Apache2

Error /var/log/apache2/error.log
NC-Error /var/log/apache2/nc-error.log
NC-Access /var/log/apache2/nc-access.log
Other VirtualHosts /var/log/apahe2/other_vhosts_access.log