[collectd] [PATCH 3/6] perl plugin: Removed newline from debugging output.

Sebastian Harl sh at tokkee.org
Sat Nov 17 18:41:46 CET 2007


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/perl.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/perl.c b/src/perl.c
index 05e4b52..cced76b 100644
--- a/src/perl.c
+++ b/src/perl.c
@@ -829,7 +829,7 @@ static int perl_init (void)
 		aTHX = t->interp;
 	}
 
-	log_debug ("perl_init: c_ithread: interp = %p (active threads: %i)\n",
+	log_debug ("perl_init: c_ithread: interp = %p (active threads: %i)",
 			aTHX, perl_threads->number_of_threads);
 	return pplugin_call_all (aTHX_ PLUGIN_INIT);
 } /* static int perl_init (void) */
@@ -851,7 +851,7 @@ static int perl_read (void)
 		aTHX = t->interp;
 	}
 
-	log_debug ("perl_read: c_ithread: interp = %p (active threads: %i)\n",
+	log_debug ("perl_read: c_ithread: interp = %p (active threads: %i)",
 			aTHX, perl_threads->number_of_threads);
 	return pplugin_call_all (aTHX_ PLUGIN_READ);
 } /* static int perl_read (void) */
@@ -873,7 +873,7 @@ static int perl_write (const data_set_t *ds, const value_list_t *vl)
 		aTHX = t->interp;
 	}
 
-	log_debug ("perl_write: c_ithread: interp = %p (active threads: %i)\n",
+	log_debug ("perl_write: c_ithread: interp = %p (active threads: %i)",
 			aTHX, perl_threads->number_of_threads);
 	return pplugin_call_all (aTHX_ PLUGIN_WRITE, ds, vl);
 } /* static int perl_write (const data_set_t *, const value_list_t *) */
@@ -922,7 +922,7 @@ static int perl_shutdown (void)
 		aTHX = t->interp;
 	}
 
-	log_debug ("perl_shutdown: c_ithread: interp = %p (active threads: %i)\n",
+	log_debug ("perl_shutdown: c_ithread: interp = %p (active threads: %i)",
 			aTHX, perl_threads->number_of_threads);
 
 	plugin_unregister_log ("perl");
-- 
1.5.3.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071117/f7463622/attachment.pgp 


More information about the collectd mailing list