test logging file if it is null