Probably better, logs are not supposed to have side effects.