Check for open log before creating