Log Management
-
Hello all.
I have a Debian 12 VM running librenms and syslog-ng. All of my systems (other than Cloudron) send all their logs (vis rsyslog) to it.
I would like to feed all the Cloudron OS/docker logs to that server. Having a proper/supported/GUI way todo so would be very nice.
Also (for those who don't have a syslog server) logrotate/logwatch support would be good as well.
By the way, for these requests, I am happy to help hack on them, test them out etc.
-
I thought logrotate is implemented by default ?
-
Here is what I'm thinking. Keep in mind I have no knowledge of how the Cloudron core works.
In the Cloudron UI, somewhere in settings , add a form which lets me set an IP address or hostname for a syslog target.
In the Cloudron back end, configure the /etc/rsyslog.conf.d/<custom.conf> or /etc/syslog-ng equiv to set *.* to that hostname/IP
For now, I would be happy to just have the system (OS) logs coming to my syslog collector. Ideally it would also get all the dockers logs as well.