Y
Hacker News
new
|
ask
|
show
|
jobs
by
maushu
1153 days ago
This is why I use the git commit short hash as part of the identification of the service (eg: container name). Allows for quick check of which is the running code version and identify problems like these.
3 comments
rcarmo
1153 days ago
Wouldn’t help in this case if you redeployed the same version. I usually log the PID and some form of host ID.
link
zacksiri
1153 days ago
That’s smart. I like it.
link
bomewish
1151 days ago
So you have to constantly rename it with each commit or what?
link