Change the type of some log messages from DEBUG to INFO
[platform/framework/web/download-provider.git] / provider / download-provider-client-manager.c
index e06b372..403853d 100755 (executable)
@@ -355,11 +355,11 @@ static bool __dp_client_run_with_same_client(dp_client_slots_fmt *clients, int c
                if (locked != 0) // empty or used by other thread. it would be same client, but it's busy
                        continue;
 
-               TRACE_DEBUG("locked slot:%d", i);
+               TRACE_INFO("locked slot:%d", i);
                if (locked == 0 && clients[i].thread == 0) { // this slot has run without the client
                        if (clients[i].pkgname != NULL) {
                                // check package name.
-                               TRACE_DEBUG("check client[%s] slot:%d", clients[i].pkgname, i);
+                               TRACE_INFO("check client[%s] slot:%d", clients[i].pkgname, i);
                                if (strcmp(clients[i].pkgname, pkgname) == 0) {
                                        TRACE_SECURE_INFO("update client[%s] slot:%d pid:%d sock:%d",
                                                        pkgname, i, credential.pid, clientfd);
@@ -722,7 +722,7 @@ void *dp_client_manager(void *arg)
        __dp_db_free_client_manager();
 
        // kill other clients
-       TRACE_DEBUG("try to deallocate the resources for all clients");
+       TRACE_INFO("try to deallocate the resources for all clients");
        for (int i = 0; i < DP_MAX_CLIENTS; i++) {
                int locked = CLIENT_MUTEX_TRYLOCK(&g_dp_client_slots[i].mutex);
                if (locked == EBUSY) { // already locked