anchor.diff:       {group, http_reload},
        {group, https_reload},
        {group, http_mime_types},
  +     {group, http_logging},
        mime_types_format
       ].
   
  
positive.code: init_per_group(auth_api_mnesia, Config) ->
      start_mnesia(proplists:get_value(node, Config)),
      [{auth_prefix, "mnesia_"} | Config];
  init_per_group(_, Config) ->
      Config.
  
  
negative.code:     create_range_data(DocRoot),
      dbg(range, Config, init);
  
  init_per_testcase(disk_log_internal, Config0) ->
      ok = start_apps(http_logging),
      Config1 = init_httpd(http_logging, [{type, ip_comm} | Config0]),
      ct:timetrap({seconds, 20}),
      dbg(disk_log_internal, Config1, init);
  
  init_per_testcase(disk_log_exists, Config0) ->
      ServerRoot = proplists:get_value(server_root, Config0),
      Filename = ServerRoot ++ "/httpd_log_transfer",
      {ok, Log} = disk_log:open([{name, Filename}, {file, Filename},
              {repair, truncate}, {format, internal},
              {type, wrap}, {size, {1048576, 5}}]),
      ok = disk_log:log(Log, {bogus, node(), self()}),
      ok = disk_log:close(Log),
      ok = start_apps(http_logging),
      Config1 = init_httpd(http_logging, [{type, ip_comm} | Config0]),
      ct:timetrap({seconds, 20}),
      dbg(disk_log_internal, Config1, init);
  
  init_per_testcase(disk_log_bad_size, Config0) ->
      ServerRoot = proplists:get_value(server_root, Config0),
      Filename = ServerRoot ++ "/httpd_log_transfer",
      {ok, Log} = disk_log:open([{name, Filename}, {file, Filename},
              {repair, truncate}, {format, internal},
              {type, wrap}, {size, {1048576, 5}}]),
      ok = disk_log:log(Log, {bogus, node(), self()}),
      ok = disk_log:close(Log),
      ok = file:delete(Filename ++ ".siz"),
      ok = start_apps(http_logging),
      Config1 = init_httpd(http_logging, [{type, ip_comm} | Config0]),
      ct:timetrap({seconds, 20}),
      dbg(disk_log_internal, Config1, init);
  
  init_per_testcase(disk_log_bad_file, Config0) ->
      ServerRoot = proplists:get_value(server_root, Config0),
      Filename = ServerRoot ++ "/httpd_log_transfer",
      ok = file:write_file(Filename ++ ".1", <<>>),
      ok = start_apps(http_logging),
      Config1 = init_httpd(http_logging, [{type, ip_comm} | Config0]),
      ct:timetrap({seconds, 20}),
      dbg(disk_log_internal, Config1, init);
  
  init_per_testcase(Case, Config) ->
      ct:timetrap({seconds, 20}),
      dbg(Case, Config, init).
  
  end_per_testcase(Case, Config) when
          Case == disk_log_internal;
          Case == disk_log_exists;
          Case == disk_log_bad_size;
          Case == disk_log_bad_file ->
      inets:stop(),
      dbg(Case, Config, 'end');
  
  end_per_testcase(Case, Config) ->
      dbg(Case, Config, 'end').
  