Added name logging addition made by tompreuss in commit f0e427618575db65a189b3ddb14ee8bd653a1dc5, meant to be in previous commit