| 4886 | SERVSTAT(stat_theadlog_peaklevel, 0, "lThreadlog peak fill level (0..100%)"); |
| 4887 | |
| 4888 | void restartlogging() |
| 4889 | { |
| 4890 | if(isdedicated) |
| 4891 | { |
| 4892 | exitlogging(); |
| 4893 | string identity; |
| 4894 | if(scl.logident[0]) filtertext(identity, scl.logident, FTXT__LOGIDENT); |
| 4895 | else formatstring(identity)("%s#%d", scl.ip[0] ? scl.ip : "local", scl.serverport); |
| 4896 | initlogging(identity, scl.syslogfacility, logthreshold_console, logthreshold_file, logthreshold_syslog, scl.logtimestamp, scl.logfilepath); |
| 4897 | } |
| 4898 | } |
| 4899 | |
| 4900 | void initserver(bool dedicated) |
| 4901 | { |
no test coverage detected