Rework logging (reduce, string count).