make sure to register before following a log file