1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support log rotate signal SIGUSR1. 3.0.8

This commit is contained in:
winlin 2016-12-08 18:23:22 +08:00
parent 9e9cad1826
commit 2955b1fd2d
9 changed files with 61 additions and 23 deletions

View file

@ -71,6 +71,10 @@ public:
* initialize log utilities.
*/
virtual int initialize();
/**
* reopen the log file for log rotate.
*/
virtual void reopen();
public:
/**
* log for verbose, very verbose information.