changeset 291:af7aca7ddcf7

Fixed debug levels, trace all incoming and outgoing messages with level of FULL
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 22 Dec 2008 12:50:54 +0900
parents 5ed9c73c31cd
children d40bbfcd07ef
files waaad/peer-cer_cea.c waaad/peer-server.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/peer-cer_cea.c	Mon Dec 22 12:43:40 2008 +0900
+++ b/waaad/peer-cer_cea.c	Mon Dec 22 12:50:54 2008 +0900
@@ -361,7 +361,6 @@
 	
 	/* The CER is now ready */
 	TRACE_DEBUG(FULL, "CER Ready");
-	msg_dump_walk(FULL, *cer);
 	
 	return 0;
 }
--- a/waaad/peer-server.c	Mon Dec 22 12:43:40 2008 +0900
+++ b/waaad/peer-server.c	Mon Dec 22 12:50:54 2008 +0900
@@ -187,6 +187,9 @@
 			/* Retrieve the message from the queue */
 			CHECK_FCT_DO(  meq_tryget(dummy->p_in_q, &received),  goto error  );
 			
+			TRACE_DEBUG(FULL, "Received this message from new unknown client:");
+			msg_dump_walk(FULL, received);
+	
 			/* Parse the message against the dictionary */
 			CHECK_FCT_DO(  msg_parse_dict(received), goto no_cer  );
 				
"Welcome to our mercurial repository"