Fixes for the log method