changeset 292:d40bbfcd07ef

Fixed some additional debug messages and levels
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 22 Dec 2008 12:57:15 +0900
parents af7aca7ddcf7
children aa6883dd5191
files waaad/extensions.c waaad/peer-psm.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/extensions.c	Mon Dec 22 12:50:54 2008 +0900
+++ b/waaad/extensions.c	Mon Dec 22 12:57:15 2008 +0900
@@ -131,7 +131,7 @@
 	for (li = ext_list.next; li != &ext_list; li = li->next)
 	{
 		ext_t * ext = (ext_t *)(li->o);
-		TRACE_DEBUG (FULL, "Loading %s", ext->filename);
+		TRACE_DEBUG (INFO, "Loading extension: %s", ext->filename);
 		
 		/* Load the extension */
 		ext->handler = dlopen(ext->filename, RTLD_LAZY | RTLD_LOCAL);
--- a/waaad/peer-psm.c	Mon Dec 22 12:50:54 2008 +0900
+++ b/waaad/peer-psm.c	Mon Dec 22 12:57:15 2008 +0900
@@ -513,6 +513,9 @@
 	CHECK_FCT_DO(  meq_tryget(peer->p_in_q, &cea),  return 1  );
 	pthread_cleanup_push( _cleanup_msg, cea );
 	
+	TRACE_DEBUG(FULL, "Received this message from '%s':", peer->p_diamid);
+	msg_dump_walk(FULL, cea);
+	
 	/* Check we can understand this message */
 	CHECK_FCT_DO(  msg_parse_dict(cea), goto no_cea  );
 
"Welcome to our mercurial repository"