Change logger file opening flag