Fixed error in call of logging function