put logs in the right place