@@ -237,7 +237,7 @@ static void on_message_recv(Client *c)
237
237
}
238
238
else
239
239
{
240
- elog (WARNING , "emitted raft update %d" , index );
240
+ elog (DEBUG1 , "emitted raft update %d" , index );
241
241
c -> expect = index ;
242
242
c -> state = CLIENT_WAITING ;
243
243
}
@@ -298,7 +298,7 @@ static void attend(Client *c)
298
298
if (c -> state == CLIENT_SICK ) return ;
299
299
if (!c -> msg ) return ;
300
300
if (c -> cursor < c -> msg -> len ) return ;
301
- elog (WARNING , "got %d bytes from client" , (int )c -> cursor );
301
+ elog (DEBUG1 , "got %d bytes from client" , (int )c -> cursor );
302
302
on_message_recv (c );
303
303
break ;
304
304
case CLIENT_RECVING :
@@ -324,7 +324,7 @@ static void notify(void)
324
324
Assert (c -> expect >= 0 );
325
325
if (!raft_applied (raft , server .id , c -> expect )) continue ;
326
326
327
- elog (WARNING , "notify client %d that update %d is applied" , i , c -> expect );
327
+ elog (DEBUG1 , "notify client %d that update %d is applied" , i , c -> expect );
328
328
answer = make_single_value_message ("" , NULL , 0 , & answersize );
329
329
answer -> meaning = MEAN_OK ;
330
330
c -> msg = palloc (sizeof (Message ) + answersize );
0 commit comments