This message indicates that a hot key was added, so say that. After
all the hot key slots have been filled the id will always be 0, so
don't bother logging it.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
keystr = hex_encode_talloc(ctdb_db,
(unsigned char *)key.dptr, key.dsize);
- DEBUG(DEBUG_NOTICE,("Updated hot key database=%s key=%s id=%d "
- "count=%d\n", ctdb_db->db_name,
- keystr ? keystr : "" , id, count));
+ D_NOTICE("Added hot key database=%s key=%s count=%d\n",
+ ctdb_db->db_name,
+ keystr ? keystr : "" ,
+ count);
talloc_free(keystr);
sort_keys: