diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-01-18 13:25:05 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-01-18 13:25:05 +0000 |
commit | 0beea1ebdc97f17915baf8dfdeb50bc516714e10 (patch) | |
tree | ecc942b854f1debe2f9a77f13683c26d6a547d77 /pjsip | |
parent | 48f39ad6f561f779b5ff854b2f2f81bafd642f45 (diff) |
Ticket #453: Log level is not set in PJSUA-LIB (thanks Simon Farmer)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1705 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_core.c b/pjsip/src/pjsua-lib/pjsua_core.c index 316f467f..d0d0ad4b 100644 --- a/pjsip/src/pjsua-lib/pjsua_core.c +++ b/pjsip/src/pjsua-lib/pjsua_core.c @@ -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); |