mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	server: flush stdout after logging in both text and json layout (#6253)
This commit is contained in:
		| @@ -95,8 +95,8 @@ static inline void server_log(const char *level, const char *function, int line, | |||||||
|  |  | ||||||
|         const std::string str = ss.str(); |         const std::string str = ss.str(); | ||||||
|         printf("%.*s\n", (int)str.size(), str.data()); |         printf("%.*s\n", (int)str.size(), str.data()); | ||||||
|         fflush(stdout); |  | ||||||
|     } |     } | ||||||
|  |     fflush(stdout); | ||||||
| } | } | ||||||
|  |  | ||||||
| // | // | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Pierrick Hymbert
					Pierrick Hymbert