Reduce printing logs 72/267172/2
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 29 Nov 2021 03:55:33 +0000 (12:55 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 29 Nov 2021 03:57:01 +0000 (12:57 +0900)
This patch removes the warning level log of getting the alias info to
reduce priting logs. And, the log level of priting the result of getting
the alias info is changed to debug level.

Change-Id: Ie92df5b0937bd1a99c33045a6752b8ab6c452b7f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_app_property.c

index dca5c0c..a5e9ed0 100644 (file)
@@ -1130,15 +1130,13 @@ static int __dispatch_app_get_appid_by_alias_appid(request_h req)
        }
 
        appid = _app_property_get_real_appid(prop, alias_appid);
-       if (!appid)
-               _W("Failed to find real appid. alias_appid(%s)", alias_appid);
-       else
+       if (appid)
                bundle_add(res, AUL_K_APPID, appid);
 
        aul_sock_send_bundle_with_fd(fd, _request_get_cmd(req), res,
                        AUL_SOCK_NOREPLY);
        bundle_free(res);
-       _I("[APP_GET_APPID_BY_ALIAS_APPID] alias_appid(%s), appid(%s)",
+       _D("[APP_GET_APPID_BY_ALIAS_APPID] alias_appid(%s), appid(%s)",
                        alias_appid, appid);
        return 0;
 }