Log every dependency version at startup. That's it. That's the post.

Log every dependency version at startup. That's it. That's the post.

I have one piece of advice that has paid for itself, in debugging hours saved, more times than I can count. When your service starts up, log the version of every external dependency you can identify. That's it. That's the whole tip. Database client version. HTTP client version. Major library versions. The runtime version. The OS kernel version, if you can get it. Whatever specific cloud SDK version is loaded. Print it all to your structured log under an application_startup event the first tim...

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.