putting logs in