Replaced debug log with regular logs to avoid linker confusing with syntax