smarkets / marge-bot

A merge-bot for GitLab
BSD 3-Clause "New" or "Revised" License
701 stars 136 forks source link

Save logs to a file #244

Open alatiera opened 4 years ago

alatiera commented 4 years ago

Hello,

One of the frequent occurrences, is that there will be a 502/3 server error or something will go wrong and marge will leave a comment about being broken on the inside. When that happens we usually look at the docker logs and try to find any more details. I was thinking It might be helpful if the logs were saved to a file so they could be grepped easier.

Cheers

snim2 commented 4 years ago

The logs are in /var/log/syslog, but I agree it would be nice to have a separate log file in /var/log.