summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-09-10 21:10:17 +0200
committerAlexander Barton <alex@barton.de>2010-09-14 00:04:04 +0200
commitcd954ee7e902743cd679b418edf1630225c512c4 (patch)
tree31e6e7929cdf0b95171b9d0dbd75cf108f3d43a6
parent355828e64f6fa07eb96bc6b27eef964b529d8778 (diff)
downloadngircd-cd954ee7e902743cd679b418edf1630225c512c4.tar.gz
ngircd-cd954ee7e902743cd679b418edf1630225c512c4.zip
Reformat "server state" debug messages a little bit
-rw-r--r--src/ngircd/client.c2
-rw-r--r--src/ngircd/sighandlers.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index d53dc969..03347835 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -1285,7 +1285,7 @@ Client_DebugDump(void)
 	c = My_Clients;
 	while (c) {
 		Log(LOG_DEBUG,
-		    " - %s, type=%d, host=%s, user=%s, conn=%d, start=%ld, flags=%s",
+		    " - %s: type=%d, host=%s, user=%s, conn=%d, start=%ld, flags=%s",
                    Client_ID(c), Client_Type(c), Client_Hostname(c),
                    Client_User(c), Client_Conn(c), Client_StartTime(c),
                    Client_Flags(c));
diff --git a/src/ngircd/sighandlers.c b/src/ngircd/sighandlers.c
index 688a8f02..cb12a84d 100644
--- a/src/ngircd/sighandlers.c
+++ b/src/ngircd/sighandlers.c
@@ -42,7 +42,8 @@ static int signalpipe[2];
 static void
 Dump_State(void)
 {
-	Log(LOG_DEBUG, "--- Internal server state: ---");
+	Log(LOG_DEBUG, "--- Internal server state: %s ---",
+	    Client_ID(Client_ThisServer()));
 	Log(LOG_DEBUG, "time()=%ld", time(NULL));
 	Conf_DebugDump();
 	Client_DebugDump();