Fixes to logger function calls