Ignore:
Timestamp:
May 7, 2009 4:56:04 PM (16 years ago)
Author:
bennylp
Message:

Ticket #827: Option in PJSUA-LIB logging config to append existing log file (thanks Robert Cichielo for the suggestion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r2506 r2686  
    477477    /* If output log file is desired, create the file: */ 
    478478    if (pjsua_var.log_cfg.log_filename.slen) { 
    479  
     479        unsigned flags = PJ_O_WRONLY; 
     480        flags |= pjsua_var.log_cfg.log_file_flags; 
    480481        status = pj_file_open(pjsua_var.pool,  
    481482                              pjsua_var.log_cfg.log_filename.ptr, 
    482                               PJ_O_WRONLY,  
     483                              flags,  
    483484                              &pjsua_var.log_file); 
    484485 
Note: See TracChangeset for help on using the changeset viewer.