From: vimala.v Date: Mon, 31 Aug 2015 10:08:15 +0000 (+0530) Subject: Resolved Tizen crash while printing FATAL errors. X-Git-Tag: 1.2.0+RC1~1133^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04f6e3556ade1b7c71f3b8977615be7e34674d1b;p=platform%2Fupstream%2Fiotivity.git Resolved Tizen crash while printing FATAL errors. Temp fix for https://jira.iotivity.org/browse/IOT-704. This fix will be reverted back when Tizen binary issue is resolved. Change-Id: I38cdff511c61ac74912a45763be9b7dc3b7e9e4e Signed-off-by: vimala.v Reviewed-on: https://gerrit.iotivity.org/gerrit/2319 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/logger/src/logger.c b/resource/csdk/logger/src/logger.c index f13151712..3d8e4d9c1 100644 --- a/resource/csdk/logger/src/logger.c +++ b/resource/csdk/logger/src/logger.c @@ -104,7 +104,12 @@ int OCGetTizenLogLevel(LogLevel level) case ERROR: return DLOG_ERROR; case FATAL: - return DLOG_FATAL; + /* + * Temp fix to resolve DLOG_FATAL runtime crash in tizen binary. + * TODO: Revert back to DLOG_FATAL once logging issue is fixed in + * Tizen binary. + */ + return DLOG_ERROR; } return DLOG_DEBUG; }