small logging mod to make the project atomic