properly log