Ack,
Mathi.

> -----Original Message-----
> From: Lennart Lund [mailto:[email protected]]
> Sent: Tuesday, August 11, 2015 4:51 PM
> To: Vu Nguyen M; Mathivanan Naickan Palanivelu
> Cc: [email protected]
> Subject: RE: [PATCH 1 of 1] log: saflogger should use built-in default log 
> file
> format in log server [#1433]
> 
> Ack
> 
> Thanks
> Lennart
> 
> -----Original Message-----
> From: Vu Minh Nguyen [mailto:[email protected]]
> Sent: den 11 augusti 2015 10:55
> To: [email protected]; Lennart Lund
> Cc: [email protected]
> Subject: [PATCH 1 of 1] log: saflogger should use built-in default log file
> format in log server [#1433]
> 
>  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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to