From: dongsug.song Date: Sat, 11 Jan 2025 04:09:49 +0000 (+0900) Subject: [NUI] Reduce error log by the request of user X-Git-Tag: submit/tizen_7.0/20250207.112137~1^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60364fd008c3658a14a9cc2930de046d9cea6453;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Reduce error log by the request of user - Reduce error log print. - Limit trace call stack depth at 5, when the exception case of ViewSignal Disconnect by the request of GBM. --- diff --git a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs index 1c361821e..319f3dd8a 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs @@ -70,7 +70,7 @@ namespace Tizen.NUI Tizen.Log.Fatal("NUI", $"[ERROR] current threadID : {Thread.CurrentThread.ManagedThreadId}"); Tizen.Log.Fatal("NUI", $"[ERROR] back trace!"); global::System.Diagnostics.StackTrace st = new global::System.Diagnostics.StackTrace(true); - for (int i = 0; i < st.FrameCount; i++) + for (int i = 0; i < global::System.Math.Min(5, st.FrameCount); i++) { global::System.Diagnostics.StackFrame sf = st.GetFrame(i); Tizen.Log.Fatal("NUI", " Method " + sf.GetMethod());