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:41:40 +0000 (10:41 +0100)
Component && module, if a child thread is stuck for a long time.

src/main/event.c

index 5d09c57..918b3e0 100644 (file)
@@ -500,8 +500,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);