Reformat "server state" debug messages a little bit
This commit is contained in:
parent
355828e64f
commit
cd954ee7e9
|
@ -1285,7 +1285,7 @@ Client_DebugDump(void)
|
||||||
c = My_Clients;
|
c = My_Clients;
|
||||||
while (c) {
|
while (c) {
|
||||||
Log(LOG_DEBUG,
|
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_ID(c), Client_Type(c), Client_Hostname(c),
|
||||||
Client_User(c), Client_Conn(c), Client_StartTime(c),
|
Client_User(c), Client_Conn(c), Client_StartTime(c),
|
||||||
Client_Flags(c));
|
Client_Flags(c));
|
||||||
|
|
|
@ -42,7 +42,8 @@ static int signalpipe[2];
|
||||||
static void
|
static void
|
||||||
Dump_State(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));
|
Log(LOG_DEBUG, "time()=%ld", time(NULL));
|
||||||
Conf_DebugDump();
|
Conf_DebugDump();
|
||||||
Client_DebugDump();
|
Client_DebugDump();
|
||||||
|
|
Loading…
Reference in New Issue