[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.0.3-1-28-ga8ba0c2

Sven Nierlein sven at nierlein.de
Fri May 20 10:20:47 UTC 2011


The following commit has been merged in the master branch:
commit cede109743532a8771500bd2ab3cf5afdbfac468
Author: Sven Nierlein <sven at nierlein.de>
Date:   Thu Apr 7 09:25:18 2011 +0200

    print version information in worker debug log

diff --git a/worker/worker.c b/worker/worker.c
index 41762eb..b45c23b 100644
--- a/worker/worker.c
+++ b/worker/worker.c
@@ -95,6 +95,11 @@ int main (int argc, char **argv) {
         gm_log( GM_LOG_INFO, "mod_gearman worker started with pid %d\n", getpid());
     }
 
+    /* print some version information */
+    gm_log( GM_LOG_DEBUG, "Version %s\n", GM_VERSION );
+    gm_log( GM_LOG_DEBUG, "running on libgearman %s\n", gearman_version() );
+
+
     /* set signal handlers for a clean exit */
     signal(SIGINT, clean_exit);
     signal(SIGTERM,clean_exit);

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list