Where Does the Error logs are stored in KoBoToolbox self hosted environment

Hi,

We have a self hosted instance of KoBoToolBox, we want to automate the forwarding of error logs to elastic search tool for a better monitoring. Please suggest where does the logs are stored.

Regards