server: flush stdout after logging in both text and json layout (#6253)

This commit is contained in:
Pierrick Hymbert
2024-03-23 13:18:45 +01:00
committed by GitHub
parent 56d74c8210
commit 6331d10b51

View File

@@ -95,8 +95,8 @@ static inline void server_log(const char *level, const char *function, int line,
const std::string str = ss.str();
printf("%.*s\n", (int)str.size(), str.data());
fflush(stdout);
}
fflush(stdout);
}
//