More DOM efficient logging system