Improved logging instructions