1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk
Star Brilliant a164c90e28 Flush the stdout buffer after logging to console
Normally if the stdout is connected to a PTY, the stdout buffer is flushed automatically after each \n.
However if I run SRS under Docker, the stdout is not connected to a PTY (unless I ask it to), causing the last log line to be incomplete (showing only half).
By adding fflush, we could make sure each log line is completely shown, whenever the stdout is connected to a PTY or not.
2016-09-08 07:58:52 -05:00
..
3rdparty osx support build nginx and ffmpeg 2015-03-17 21:51:19 +08:00
auto fix the sed bug, to compatible with osx 2016-03-03 10:57:26 +08:00
conf fix typo of config. 2016-08-08 13:58:42 +08:00
doc for #328, add hds specification. 2015-03-12 11:36:12 +08:00
etc/init.d rename org simple-rtmp-server to ossrs 2015-11-11 10:37:50 +08:00
ide rename org simple-rtmp-server to ossrs 2015-11-11 10:37:50 +08:00
modules refine build for modules, add defines. 2015-03-23 17:49:45 +08:00
research fix the timeout for librtmp 2016-08-10 22:04:01 +08:00
scripts refine the position of log script 2015-11-11 17:49:46 +08:00
src Flush the stdout buffer after logging to console 2016-09-08 07:58:52 -05:00
configure rename org simple-rtmp-server to ossrs 2015-11-11 10:37:50 +08:00