How to transfer the log to the syslog server?

Support intro

Nextcloud version (eg, 20.0.5): 24.0.6
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 8.0.24

The issue you are facing: How to tranfer nextcloud log to syslog server?

Is this the first time you’ve seen this error? (Y/N):N

I’m not aware of any way to configure a remote log server directly in Nextcloud. What should work though is to send the logs to the local syslog deamon, which is rsyslog on Ubuntu, and then configure rsyslog to forward the logs to a remote syslog server.

1 Like