Add detail to overflow logging. Fix indentations.