mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Open logs in line-buffered mode, so that logging is actually useful.
svn path=/trunk/log/; revision=2075
This commit is contained in:
parent
0bf3470744
commit
9d87eecd0f
@ -84,6 +84,7 @@ int log_open(const char *filename)
|
|||||||
_release_log_id(log_id);
|
_release_log_id(log_id);
|
||||||
return LOG_ECANTOPEN;
|
return LOG_ECANTOPEN;
|
||||||
}
|
}
|
||||||
|
setvbuf(loglist[log_id].logfile, NULL, _IOLBF, 0);
|
||||||
|
|
||||||
return log_id;
|
return log_id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user