From: Adeel Kazmi Date: Thu, 12 Jan 2017 15:46:56 +0000 (+0000) Subject: Remove some meaningless log output & convert other log warnings to log info X-Git-Tag: dali_1.2.22~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F110057%2F1;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Remove some meaningless log output & convert other log warnings to log info Change-Id: Ifeb876e6f9ac9e25d455db58e8464ddf8ac5d95b --- diff --git a/adaptors/common/gl/egl-implementation.cpp b/adaptors/common/gl/egl-implementation.cpp index 57fd7c7..88a7b64 100644 --- a/adaptors/common/gl/egl-implementation.cpp +++ b/adaptors/common/gl/egl-implementation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -297,7 +297,7 @@ void EglImplementation::ChooseConfig( bool isWindowType, ColorDepth depth ) #else // DALI_GLES_VERSION >= 30 - DALI_LOG_WARNING( "Using OpenGL ES 2 \n" ); + Integration::Log::LogMessage( Integration::Log::DebugInfo, "Using OpenGL ES 2 \n" ); configAttribs.PushBack( EGL_OPENGL_ES2_BIT ); #endif //DALI_GLES_VERSION >= 30 diff --git a/adaptors/x11/ecore-x-render-surface.cpp b/adaptors/x11/ecore-x-render-surface.cpp index 70b4694..df81aca 100644 --- a/adaptors/x11/ecore-x-render-surface.cpp +++ b/adaptors/x11/ecore-x-render-surface.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,14 +73,6 @@ void EcoreXRenderSurface::Init( Any surface ) // XLib should already be initialized so no point in calling XInitThreads UseExistingRenderable( surfaceId ); } - -#ifdef DEBUG_ENABLED - // prints out 'INFO: DALI: new EcoreXRenderSurface, used existing surface xx - // we can not use LOG_INFO because the surface can be created before Dali Core is created. - printf( "INFO: DALI: new EcoreXRenderSurface, %s surface %X \n", - mOwnSurface?"created":"used existing", - AnyCast( GetSurface() ) ); -#endif } EcoreXRenderSurface::~EcoreXRenderSurface() diff --git a/adaptors/x11/imf-manager-impl-x.cpp b/adaptors/x11/imf-manager-impl-x.cpp index 14dc385..ff67cb3 100644 --- a/adaptors/x11/imf-manager-impl-x.cpp +++ b/adaptors/x11/imf-manager-impl-x.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -215,12 +215,12 @@ void ImfManager::CreateContext( Ecore_X_Window ecoreXwin ) } else { - DALI_LOG_WARNING("IMF Unable to get IMF Context\n"); + DALI_LOG_INFO( gLogFilter, Debug::General, "IMF Unable to get IMF Context\n"); } } else { - DALI_LOG_WARNING("IMF Unable to get IMF Context\n"); + DALI_LOG_INFO( gLogFilter, Debug::General, "IMF Unable to get IMF Context\n"); } }