osaf/tools/saflog/saflogger/saf_logger.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Currently, saflogger tool uses its own defined log file format for application stream, instead of built-in one in log server. diff --git a/osaf/tools/saflog/saflogger/saf_logger.c b/osaf/tools/saflog/saflogger/saf_logger.c --- a/osaf/tools/saflog/saflogger/saf_logger.c +++ b/osaf/tools/saflog/saflogger/saf_logger.c @@ -278,7 +278,8 @@ int main(int argc, char *argv[]) appLogFileCreateAttributes.haProperty = SA_TRUE; appLogFileCreateAttributes.logFileFullAction = SA_LOG_FILE_FULL_ACTION_ROTATE; appLogFileCreateAttributes.maxFilesRotated = DEFAULT_MAX_FILES_ROTATED; - appLogFileCreateAttributes.logFileFmt = DEFAULT_FORMAT_EXPRESSION; + /* Use built-in log file format in log server for app stream */ + appLogFileCreateAttributes.logFileFmt = NULL; while (1) { c = getopt_long(argc, argv, "hlnya:s:", long_options, NULL); ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel