Fixed last minute logging syntax error