anchor.diff:  init([Parent]) ->
       Handle = openLog(),
       {ok, #state{parent    = Parent,
  -		logHandle = Handle}}.
  +                logHandle = Handle}}.
   
   %%--------------------------------------------------------------------
   %% @private
  
positive.code:     PrivDir    = code:priv_dir("eLog"),
      FileName   = filename:join([PrivDir, "Logs", "eLog"]),
      Args       = [{name,   eLogWriter},
  		  {file,   FileName},
  		  {linkto, self()},
  		  {repair, true},
  		  {type,   wrap},
  		  {format, external},
  		  {size,   {MaxNoBytes, MaxNoFiles}}],
      ensureDir(FileName),
      case disk_log:open(Args) of
  	{ok, Handle} ->
  	    Handle;
  	{repaired, Handle, _, _} ->
  	    Handle;
  	{error, Reason} ->
  	    io:format("Failed to open log: ~p~n", [{error, Reason}]),
  	    undefined
      end.
  
  ensureDir(FileName) ->
      case filelib:ensure_dir(FileName) of
  	ok ->
  	    ok; 
  	{error, Reason} ->
  	    erlang:error(Reason)
      end.
  
negative.code: 
  %% API
  -export([start_link/0,
           stop/0,
           log/6
          ]).
  %% gen_server callbacks
  -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
           terminate/2, code_change/3]).
  
  -define(SERVER, ?MODULE).
  
  -record(state, {parent,
                  logHandle}).
  
  %%%===================================================================
  %%% API
  