Add more information to warning message
authorAlan T. DeKok <aland@freeradius.org>
Thu, 11 Feb 2010 09:33:19 +0000 (10:33 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 11 Feb 2010 09:33:53 +0000 (10:33 +0100)
Component && module, if a child thread is stuck for a long time.

src/main/event.c

index ee99e33..6ec7bc3 100644 (file)
@@ -505,8 +505,8 @@ static void wait_for_child_to_die(void *ctx)
                 */
                if (request->delay < (USEC * 60 * 5)) {
                        request->delay += (request->delay >> 1);
-                       radlog(L_INFO, "WARNING: Child is hung for request %d.",
-                              request->number);
+                       radlog(L_INFO, "WARNING: Child is hung for request %d in component %s module %s.",
+                              request->number, request->component, request->module);
                } else {
                        RDEBUG2("Child is still stuck for request %d",
                                request->number);