Changes for log reduction