Remove ->log->debug string which caused error