put logs in a directory