Ticket #453: Log level is not set in PJSUA-LIB (thanks Simon Farmer)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1705 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
be41d86a41
commit
4190cf9e19
|
@ -443,6 +443,9 @@ PJ_DEF(pj_status_t) pjsua_reconfigure_logging(const pjsua_logging_config *cfg)
|
|||
/* Set decor */
|
||||
pj_log_set_decor(pjsua_var.log_cfg.decor);
|
||||
|
||||
/* Set log level */
|
||||
pj_log_set_level(pjsua_var.log_cfg.level);
|
||||
|
||||
/* Close existing file, if any */
|
||||
if (pjsua_var.log_file) {
|
||||
pj_file_close(pjsua_var.log_file);
|
||||
|
|
Loading…
Reference in New Issue