andrei      2009/02/27 00:14:12 CET

  SER CVS Repository

  Modified files:
    .                    cfg.y dprint.h 
  Log:
  log/dbg: level is not limited anymore
  
  The recent changes to LOG() added a new limitation: the log level
  was restricted to one of the L_ macros. Using another level (e.g.
  L_DBG+1) would trigger an assert(). Now any level is allowed. If
  the level is not among the defined range (L_ALERT - L_DBG), the
  prefix will be skipped (e.g. "DBG") and the syslog level will be
  set to either the L_ALERT or the L_DBG one. This fixes problems
  with log() from the script, or when using a very high debug level
  and something like memdbg=7.
  
  Revision  Changes    Path
  1.166     +3 -2      sip_router/cfg.y
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg.y.diff?r1=1.165&r2=1.166
  1.22      +56 -22    sip_router/dprint.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/dprint.h.diff?r1=1.21&r2=1.22
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to