From afd34bb5d6cefd61841c12a857baafd502bf5fd0 Mon Sep 17 00:00:00 2001 From: chleun-moon <32117100+chleun-moon@users.noreply.github.com> Date: Wed, 14 Mar 2018 16:41:24 +0900 Subject: [PATCH] [Connection][Network] Change Debug to Info for some Logs (#160) --- .../Tizen.Network.Connection/ConnectionInternalManager.cs | 2 +- .../Tizen.Network.Connection/ConnectionProfile.cs | 8 ++++---- src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManagerImpl.cs | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs b/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs index 7f3718a..c4b254b 100755 --- a/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs +++ b/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs @@ -959,7 +959,7 @@ namespace Tizen.Network.Connection Log.Info(Globals.LogTag, "OpenProfileAsync"); if (profile != null) { - Log.Debug(Globals.LogTag, "OpenProfileAsync " + profile.Name); + Log.Info(Globals.LogTag, "OpenProfileAsync " + profile.Name); TaskCompletionSource task = new TaskCompletionSource(); Interop.Connection.ConnectionCallback Callback = (ConnectionError Result, IntPtr Data) => { diff --git a/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionProfile.cs b/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionProfile.cs index 9ba3f3a..5ab232c 100755 --- a/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionProfile.cs +++ b/src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionProfile.cs @@ -57,7 +57,7 @@ namespace Tizen.Network.Connection { add { - Log.Debug(Globals.LogTag, "ProfileStateChanged add"); + Log.Info(Globals.LogTag, "ProfileStateChanged add"); context.Post((x) => { if (_ProfileStateChanged == null) @@ -69,7 +69,7 @@ namespace Tizen.Network.Connection } remove { - Log.Debug(Globals.LogTag, "ProfileStateChanged remove"); + Log.Info(Globals.LogTag, "ProfileStateChanged remove"); context.Post((x) => { _ProfileStateChanged -= value; @@ -92,7 +92,7 @@ namespace Tizen.Network.Connection } }; - Log.Debug(Globals.LogTag, "ProfileStateChangedStart"); + Log.Info(Globals.LogTag, "ProfileStateChangedStart"); int ret = Interop.ConnectionProfile.SetStateChangeCallback(ProfileHandle, _profileChangedCallback, IntPtr.Zero); if ((ConnectionError)ret != ConnectionError.None) { @@ -102,7 +102,7 @@ namespace Tizen.Network.Connection private void ProfileStateChangedStop() { - Log.Debug(Globals.LogTag, "ProfileStateChangedStop"); + Log.Info(Globals.LogTag, "ProfileStateChangedStop"); int ret = Interop.ConnectionProfile.UnsetStateChangeCallback(ProfileHandle); if ((ConnectionError)ret != ConnectionError.None) { diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManagerImpl.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManagerImpl.cs index 0578f01..ee356f5 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManagerImpl.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManagerImpl.cs @@ -114,6 +114,7 @@ namespace Tizen.Network.WiFi { get { + Log.Info(Globals.LogTag, "IsActive"); bool active; int ret = Interop.WiFi.IsActive(GetSafeHandle(), out active); if (ret != (int)WiFiError.None) -- 2.7.4