Improved logging a bunch