added creates check on logging file creation