change log_*f =>log_*