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

remove the config log http api. 0.9.148

This commit is contained in:
winlin 2014-07-05 13:02:50 +08:00
parent 28a6a1214c
commit 95e73d0be1
5 changed files with 22 additions and 254 deletions

View file

@ -143,18 +143,6 @@ public:
virtual int reload();
private:
virtual SrsConfDirective* get_or_create(SrsConfDirective* node, std::string name);
public:
/**
* dynamic set the config, for instance, for http api to set,
* @return ture if config changed and need to reload.
*/
virtual bool set_log_file(std::string file);
virtual bool set_log_tank(std::string tank);
virtual bool set_log_level(std::string level);
public:
virtual int force_reload_log_file();
virtual int force_reload_log_tank();
virtual int force_reload_log_level();
private:
virtual int reload_http_api(SrsConfDirective* old_root);
virtual int reload_http_stream(SrsConfDirective* old_root);