Change Heartbeat log message

Now includes elapsed ticks
This commit is contained in:
Gergely Polonkai 2013-11-26 12:34:43 +01:00
parent e6e7cffb68
commit 744fa02efa

View File

@ -76,7 +76,7 @@ rl_sec_elapsed(gpointer user_data)
}
if (elapsed_ticks % WMUD_HEARTBEAT_LENGTH == 0) {
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, "Heartbeat");
g_log(G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, "Heartbeat (%d ticks)", elapsed_ticks);
}
return TRUE;