sls-packaging icon indicating copy to clipboard operation
sls-packaging copied to clipboard

Roll Startup Logs

Open fryz opened this issue 6 years ago • 2 comments

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.

fryz avatar Jun 13 '18 20:06 fryz

CC @ellisjoe and @iamdanfox

One possible solution here is to get rid of the startup log and send output to syslog.

fryz avatar Jun 13 '18 20:06 fryz

I think the golang implementation of init.sh should make this pretty doable (https://github.com/palantir/go-java-launcher/pull/45)!

iamdanfox avatar Jun 13 '18 20:06 iamdanfox