add log complex