server: flush stdout after logging in both text and json layout (#6253)
This commit is contained in:
1 parent
50ccaf5eac
commit
1b26aebe4d
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user