anchor.diff:  		    %% read from file as long as this logger process is alive
   		    put(ct_log_cache,term_to_binary(LogCache));
   		_ ->
  -		    file:write_file(?log_cache_name,term_to_binary(LogCache))
  +		    write_log_cache(term_to_binary(LogCache))
   	    end;		    
   	SavedLogCache ->
   	    update_all_runs_in_cache(AllRunsData,binary_to_term(SavedLogCache))
  
positive.code: 	    %% read from file as long as this logger process is alive
  	    put(ct_log_cache,term_to_binary(LogCache1));
  	_ ->
  	    file:write_file(?log_cache_name,term_to_binary(LogCache1))
      end.
  
  sort_all_runs(Dirs) ->
  
negative.code:     Data = io_lib:format("~ts", [lists:foldl(IoFun, [], Content)]),
      test_server_io:print_unexpected(Data),
      ok.
  
  write_log_cache(LogCacheBin) when is_binary(LogCacheBin) ->
      TmpFile = ?log_cache_name++".tmp",
      _ = file:write_file(TmpFile,LogCacheBin),
      _ = file:rename(TmpFile,?log_cache_name),
      ok.
  