anchor.diff:      i(F, []).
   
   i(F, A) ->
  -    print(info, get(verbosity), now(), get(tc), "INF", F, A).
  +    print(info, "INF", F, A).
   
   
   d(F) ->
       d(F, []).
   
   d(F, A) ->
  -    print(debug, get(verbosity), now(), get(tc), "DBG", F, A).
  +    print(debug, "DBG", F, A).
  +
  +
  +print(Severity, PRE, FMT, ARGS) ->
  +    print(Severity, get(verbosity), erlang:timestamp(), get(tc), PRE, FMT, ARGS).
  +
  +print(Severity, Verbosity, Ts, Tc, P, F, A) ->
  +    print(printable(Severity,Verbosity), Ts, Tc, P, F, A).
  +
  +print(true, TS, TC, P, F, A) ->
  +    S = ?F("*** [~s] ~s ~p ~s:~w ***"
  +           "~n   " ++ F ++ "~n", 
  +           [megaco:format_timestamp(TS), P, self(), get(sname), TC | A]),
  +    io:format("~s", [S]),
  +    io:format(user, "~s", [S]);
  +print(_, _, _, _, _, _) ->
  +    ok.
   
   
   printable(_, debug)   -> true;
   printable(info, info) -> true;
   printable(_,_)        -> false.
   
  -print(Severity, Verbosity, Ts, Tc, P, F, A) ->
  -    print(printable(Severity,Verbosity), Ts, Tc, P, F, A).
  -
  -print(true, Ts, Tc, P, F, A) ->
  -    io:format("*** [~s] ~s ~p ~s:~w ***"
  -	      "~n   " ++ F ++ "~n", 
  -	      [format_timestamp(Ts), P, self(), get(sname), Tc | A]);
  -print(_, _, _, _, _, _) ->
  -    ok.
  -
  -format_timestamp({_N1, _N2, N3} = Now) ->
  -    {Date, Time}   = calendar:now_to_datetime(Now),
  -    {YYYY,MM,DD}   = Date,
  -    {Hour,Min,Sec} = Time,
  -    FormatDate = 
  -        io_lib:format("~.4w:~.2.0w:~.2.0w ~.2.0w:~.2.0w:~.2.0w 4~w",
  -                      [YYYY,MM,DD,Hour,Min,Sec,round(N3/1000)]),  
  -    lists:flatten(FormatDate).
   
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
positive.code: 		{pending_timer,      PendingTmr},
  		{reply_timer,        ReplyTmr}],
      {ok, Mg1} = ?MG_START(Mg1Node, Mg1Mid, text, tcp, MgConfig, ?MG_VERBOSITY),
      {ok, Mg2} = ?MG_START(Mg2Node, Mg2Mid, text, udp, MgConfig, ?MG_VERBOSITY),
      {ok, Mg3} = ?MG_START(Mg3Node, Mg3Mid, binary, tcp, MgConfig, ?MG_VERBOSITY),
      {ok, Mg4} = ?MG_START(Mg4Node, Mg4Mid, binary, udp, MgConfig, ?MG_VERBOSITY),
  
      d("MG1 user info: ~p", [?MG_USER_INFO(Mg1, all)]),
      d("MG1 conn info: ~p", [?MG_CONN_INFO(Mg1, all)]),
  
negative.code:     ET = [{text,tcp}, {text,udp}, {binary,tcp}, {binary,udp}],
      {ok, Mgc} = 
  	?MGC_START(MgcNode, {deviceName, "ctrl"}, ET, [], ?MGC_VERBOSITY),
      ?SLEEP(?SECONDS(1)),
  
      i("[MG] start"),    
      Mg1Mid = {deviceName, "mg1"},
  