Adding logging and stats to toporeader.