Chris Browne cbbrowne at lists.slony.info
Thu Oct 4 08:33:47 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv8854

Modified Files:
	local_listen.c 
Log Message:
Add newlines to logging statements that were getting combined
with the previous line


Index: local_listen.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/local_listen.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** local_listen.c	27 Jun 2007 16:20:24 -0000	1.42
--- local_listen.c	4 Oct 2007 15:33:45 -0000	1.43
***************
*** 76,80 ****
  	{
  		slon_log(SLON_FATAL,
! 				 "localListenThread: \"%s\" - %s",
  				 dstring_data(&query1), PQresultErrorMessage(res));
  		PQclear(res);
--- 76,80 ----
  	{
  		slon_log(SLON_FATAL,
! 				 "localListenThread: \"%s\" - %s\n",
  				 dstring_data(&query1), PQresultErrorMessage(res));
  		PQclear(res);
***************
*** 136,140 ****
  		{
  			slon_log(SLON_FATAL,
! 					 "localListenThread: cannot start transaction - %s",
  					 PQresultErrorMessage(res));
  			PQclear(res);
--- 136,140 ----
  		{
  			slon_log(SLON_FATAL,
! 					 "localListenThread: cannot start transaction - %s\n",
  					 PQresultErrorMessage(res));
  			PQclear(res);
***************
*** 187,191 ****
  		{
  			slon_log(SLON_FATAL,
! 					 "localListenThread: \"%s\" - %s",
  					 dstring_data(&query1), PQresultErrorMessage(res));
  			PQclear(res);
--- 187,191 ----
  		{
  			slon_log(SLON_FATAL,
! 					 "localListenThread: \"%s\" - %s\n",
  					 dstring_data(&query1), PQresultErrorMessage(res));
  			PQclear(res);
***************
*** 276,280 ****
  				if (PQresultStatus(notify_res) != PGRES_COMMAND_OK)
  				{
! 					slon_log(SLON_FATAL, "localListenThread: \"%s\" %s",
  							 notify_query, PQresultErrorMessage(notify_res));
  					PQclear(notify_res);
--- 276,280 ----
  				if (PQresultStatus(notify_res) != PGRES_COMMAND_OK)
  				{
! 					slon_log(SLON_FATAL, "localListenThread: \"%s\" %s\n",
  							 notify_query, PQresultErrorMessage(notify_res));
  					PQclear(notify_res);
***************
*** 514,518 ****
  				if (PQresultStatus(res2) != PGRES_TUPLES_OK)
  				{
! 					slon_log(SLON_FATAL, "localListenThread: \"%s\" %s",
  							 dstring_data(&query2),
  							 PQresultErrorMessage(res2));
--- 514,518 ----
  				if (PQresultStatus(res2) != PGRES_TUPLES_OK)
  				{
! 					slon_log(SLON_FATAL, "localListenThread: \"%s\" %s\n",
  							 dstring_data(&query2),
  							 PQresultErrorMessage(res2));
***************
*** 626,630 ****
  				 * Nothing to do locally
  				 */
! 				slon_log(SLON_DEBUG1, "localListenThread: ACCEPT_SET");
  				rtcfg_reloadListen(dbconn);
  			}
--- 626,630 ----
  				 * Nothing to do locally
  				 */
! 				slon_log(SLON_DEBUG1, "localListenThread: ACCEPT_SET\n");
  				rtcfg_reloadListen(dbconn);
  			}
***************
*** 650,654 ****
  			{
  				slon_log(SLON_FATAL,
! 						 "localListenThread: \"%s\" - %s",
  						 dstring_data(&query1), PQresultErrorMessage(res));
  				PQclear(res);
--- 650,654 ----
  			{
  				slon_log(SLON_FATAL,
! 						 "localListenThread: \"%s\" - %s\n",
  						 dstring_data(&query1), PQresultErrorMessage(res));
  				PQclear(res);
***************
*** 674,678 ****
  			{
  				slon_log(SLON_FATAL,
! 						 "localListenThread: \"rollback transaction;\" - %s",
  						 PQresultErrorMessage(res));
  				PQclear(res);
--- 674,678 ----
  			{
  				slon_log(SLON_FATAL,
! 						 "localListenThread: \"rollback transaction;\" - %s\n",
  						 PQresultErrorMessage(res));
  				PQclear(res);



More information about the Slony1-commit mailing list