unsafe optimisation; relog instead of log