Logtable now rotates correctly