improved logging instructions