diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-05-07 16:56:04 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-05-07 16:56:04 +0000 |
commit | e6d8218a41cc8a58c8c9fb8ad27c0e04256e6712 (patch) | |
tree | e3e111fefaa57a7136ac738d22f94910f8dfc814 /pjsip/include | |
parent | 02f03e0152e60d5989bebaa763eba37884d44d72 (diff) |
Ticket #827: Option in PJSUA-LIB logging config to append existing log file (thanks Robert Cichielo for the suggestion)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2686 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index e17a7f64..cb21ea07 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -472,6 +472,16 @@ typedef struct pjsua_logging_config pj_str_t log_filename; /** + * Additional flags to be given to #pj_file_open() when opening + * the log file. By default, the flag is PJ_O_WRONLY. Application + * may set PJ_O_APPEND here so that logs are appended to existing + * file instead of overwriting it. + * + * Default is 0. + */ + unsigned log_file_flags; + + /** * Optional callback function to be called to write log to * application specific device. This function will be called for * log messages on input verbosity level. |