added dirty level to history logs with integ test