sls-packaging
sls-packaging copied to clipboard
Roll Startup Logs
Followup from https://github.com/palantir/sls-packaging/pull/280
This is useful in cases eg: Service OOMs and the log output is sent to the startup log. If the service is managed then it will restart and overwrite the cause of the crash and we lose valuable debugging info.
CC @ellisjoe and @iamdanfox
One possible solution here is to get rid of the startup log and send output to syslog.
I think the golang implementation of init.sh should make this pretty doable (https://github.com/palantir/go-java-launcher/pull/45)!