ondra 2009/01/06 18:14:14 CET
SER CVS Repository
Modified files:
. Makefile.modules action.c cfg_core.c
dns_cache.c dprint.c dprint.h main.c
modules/xlog xlog.c
Added files:
doc logging-api.txt
scripts/logging fix-logs fix-logs-all
Log:
* logging API updated (see doc/logging-api.txt for details)
- LOG(LEVEL, FMT, ARGS...) and the short macro corresponding to
LEVEL level made eqvivalent (eg. LOG(L_DBG, FMT, ARGS...) and
DBG(FMT, ARGS...) prints always the same message)
- changed the format of log messages produced by the macros
to include the log level, module name, filename, line (if applicable)
- added new, internal LOG_(LEVEL, PREFIX, FORMAT, ARGS...) macro
- removed DPrint() and DEBUG() macros, L_DEFAULT log level and dprint()
function
!!!
!!! IMPORTANT! READ ME!
!!!
These changes (mainly the first two) require reformating of the most log
messages in SER core and module source files. This step can be done
automatically by running "scripts/logging/fix-logs-all" script BUT it
was NOT originally performed because it would have generated too many
changes in CVS which was discouraged by Andrei. Instead, the developers
are expected to run it when ready.
Revision Changes Path
1.19 +3 -1 sip_router/Makefile.modules
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/Makefile.modules.diff?r1=1.18&r2=1.19
1.98 +8 -11 sip_router/action.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/action.c.diff?r1=1.97&r2=1.98
1.10 +2 -2 sip_router/cfg_core.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg_core.c.diff?r1=1.9&r2=1.10
1.27 +3 -3 sip_router/dns_cache.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/dns_cache.c.diff?r1=1.26&r2=1.27
1.1 +134 -0 sip_router/doc/logging-api.txt (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/doc/logging-api.txt?rev=1.1&content-type=text/plain
1.13 +28 -29 sip_router/dprint.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/dprint.c.diff?r1=1.12&r2=1.13
1.20 +161 -192 sip_router/dprint.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/dprint.h.diff?r1=1.19&r2=1.20
1.271 +10 -10 sip_router/main.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/main.c.diff?r1=1.270&r2=1.271
1.15 +3 -3 sip_router/modules/xlog/xlog.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/xlog/xlog.c.diff?r1=1.14&r2=1.15
1.1 +155 -0 sip_router/scripts/logging/fix-logs (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/scripts/logging/fix-logs?rev=1.1&content-type=text/plain
1.1 +37 -0 sip_router/scripts/logging/fix-logs-all (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/scripts/logging/fix-logs-all?rev=1.1&content-type=text/plain
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev