Revert "Use a more sensible method to get log entry partial name"

This reverts commit 181ba8c0aa3b2bc3adcc42f294a1b930272c2a78.