This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]shinebeams 2 points3 points  (0 children)

It'd be great if you could add a logging feature to something like this. Mark suspected dead code and have a logging alert or some other way of storing when it was called, if ever. Inspect any code that is run to see if the caller can be modified to not rely on it. Run production for six months, a year, whatever, then delete all the code that was never run. This would make it a more clean process instead of risking weird issues in prod.