anchor.diff:              case erlang:get_cookie() of
                   WantedCookie -> {ok, WantedCookie};
                   _ ->
  -                    ns_log:log(?MODULE, 0003, "Node ~p synchronized otp cookie ~p from cluster",
  +                    ns_log:log(?MODULE, ?COOKIE_SYNCHRONIZED,
  +                               "Node ~p synchronized otp cookie ~p from cluster",
                                  [node(), WantedCookie]),
                       erlang:set_cookie(node(), WantedCookie),
                       {ok, WantedCookie}
  
positive.code: 
  cookie_init() ->
      NewCookie = cookie_gen(),
      ns_log:log(?MODULE, 0001, "Initial otp cookie generated: ~p",
                 [NewCookie]),
      ok = cookie_set(NewCookie),
      {ok, NewCookie}.
  
negative.code: -behaviour(gen_server).
  
  -define(PING_FREQ, 60000).
  -define(NODE_CHANGE_DELAY, 5000).
  
  -define(COOKIE_INHERITED, 1).
  -define(COOKIE_SYNCHRONIZED, 2).
  -define(COOKIE_GEN, 3).
  -define(NODE_UP, 4).
  -define(NODE_DOWN, 5).
  
  %% API
  -export([start_link/0,
  