aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework/capi-system-info/files/remove-dlog-for-native-build.patch
blob: 83ee24b5fd9e9df7b5f990db649024c9f916b14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cc7e4e..1381725 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,9 +12,9 @@ INCLUDE_DIRECTORIES(${INC_DIR})
 
 IF(ENABLE_WAYLAND)
     ADD_DEFINITIONS("-DWAYLAND_PLATFORM")
-SET(requires "dlog capi-base-common iniparser libxml-2.0")
+SET(requires "capi-base-common iniparser libxml-2.0")
 ELSE(ENABLE_WAYLAND)
-SET(requires "dlog capi-base-common xi xrandr iniparser libxml-2.0")
+SET(requires "capi-base-common xi xrandr iniparser libxml-2.0")
 ENDIF(ENABLE_WAYLAND)
 SET(pc_requires "capi-base-common")
 
diff --git a/src/system_info.c b/src/system_info.c
index 491f5b5..507499e 100644
--- a/src/system_info.c
+++ b/src/system_info.c
@@ -20,7 +20,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#include <dlog.h>
+//#include <dlog.h>
 
 #include <system_info.h>
 #include <system_info_private.h>
@@ -170,7 +170,7 @@ void __attribute__((constructor)) system_info_init(void)
 	ret = system_info_get_platform_string("tizen.org/system/model_name", &str);
 
 	if (ret != SYSTEM_INFO_ERROR_NONE) {
-		LOGE("initialize error");
+		//LOGE("initialize error");
 		return;
 	}
 
@@ -204,24 +204,24 @@ int system_info_get_value(system_info_key_e key, system_info_data_type_e data_ty
 	system_info_get_value_cb system_info_getter;
 
 	if (value == NULL) {
-		LOGE("INVALID_PARAMETER(0x%08x) : invalid output param", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
+		//LOGE("INVALID_PARAMETER(0x%08x) : invalid output param", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
 		return SYSTEM_INFO_ERROR_INVALID_PARAMETER;
 	}
 
 	if (system_info_get(key, &system_info)) {
-		LOGE("INVALID_PARAMETER(0x%08x) : invalid key", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
+		//LOGE("INVALID_PARAMETER(0x%08x) : invalid key", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
 		return SYSTEM_INFO_ERROR_INVALID_PARAMETER;
 	}
 
 	if (system_info->data_type != data_type) {
-		LOGE("INVALID_PARAMETER(0x%08x) : invalid data type", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
+		//LOGE("INVALID_PARAMETER(0x%08x) : invalid data type", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
 		return SYSTEM_INFO_ERROR_INVALID_PARAMETER;
 	}
 
 	system_info_getter = system_info->get_value_cb;
 
 	if (system_info_getter == NULL) {
-		LOGE("IO_ERROR(0x%08x) : failed to call getter for the system information", SYSTEM_INFO_ERROR_IO_ERROR);
+		//LOGE("IO_ERROR(0x%08x) : failed to call getter for the system information", SYSTEM_INFO_ERROR_IO_ERROR);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
@@ -257,13 +257,13 @@ API int system_info_get_platform_bool(const char *key, bool *value)
 	supported = (bool *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(PLATFORM_TAG, key, BOOL_TYPE, &string);
 	if (ret) {
-		LOGE("cannot get %s", key);
+		//LOGE("cannot get %s", key);
 		return ret;
 	}
 
@@ -286,13 +286,13 @@ API int system_info_get_platform_int(const char *key, int *value)
 	ret_val = (int *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(PLATFORM_TAG, key, INT_TYPE, &string);
 	if (ret) {
-		LOGE("cannot get %s", key);
+		//LOGE("cannot get %s", key);
 		return ret;
 	}
 
@@ -312,13 +312,13 @@ API int system_info_get_platform_double(const char *key, double *value)
 	ret_val = (double *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(PLATFORM_TAG, key, DBL_TYPE, &string);
 	if (ret) {
-		LOGE("cannot get %s", key);
+		//LOGE("cannot get %s", key);
 		return ret;
 	}
 
@@ -335,13 +335,13 @@ API int system_info_get_platform_string(const char *key, char **value)
 	char *string = NULL;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(PLATFORM_TAG, key, STR_TYPE, &string);
 	if (ret) {
-		LOGE("cannot get %s", key);
+		//LOGE("cannot get %s", key);
 		return ret;
 	}
 
@@ -359,13 +359,13 @@ API int system_info_get_custom_bool(const char *key, bool *value)
 	supported = (bool *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(CUSTOM_TAG, key, BOOL_TYPE, &string);
 	if (ret) {
-		LOGI("cannot get %s", key);
+		//LOGI("cannot get %s", key);
 		*supported = false;
 		return SYSTEM_INFO_ERROR_NONE;
 	}
@@ -389,13 +389,13 @@ API int system_info_get_custom_int(const char *key, int *value)
 	ret_val = (int *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(CUSTOM_TAG, key, INT_TYPE, &string);
 	if (ret) {
-		LOGI("cannot get %s", key);
+		//LOGI("cannot get %s", key);
 		*ret_val = 0;
 		return SYSTEM_INFO_ERROR_NONE;
 	}
@@ -416,13 +416,13 @@ API int system_info_get_custom_double(const char *key, double *value)
 	ret_val = (double *)value;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(CUSTOM_TAG, key, DBL_TYPE, &string);
 	if (ret) {
-		LOGI("cannot get %s", key);
+		//LOGI("cannot get %s", key);
 		*ret_val = 0;
 	return SYSTEM_INFO_ERROR_NONE;
 }
@@ -440,13 +440,13 @@ API int system_info_get_custom_string(const char *key, char **value)
 	char *string = NULL;
 
 	if (access(CONFIG_FILE_PATH, R_OK)) {
-		LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot find file %s!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	ret = system_info_get_value_from_config_xml(CUSTOM_TAG, key, STR_TYPE, &string);
 	if (ret) {
-		LOGE("cannot get %s info from %s!!!", key, CONFIG_FILE_PATH);
+		//LOGE("cannot get %s info from %s!!!", key, CONFIG_FILE_PATH);
 		return ret;
 	}
 
diff --git a/src/system_info_device.c b/src/system_info_device.c
index 18752e4..2826c61 100644
--- a/src/system_info_device.c
+++ b/src/system_info_device.c
@@ -19,7 +19,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#include <dlog.h>
+//#include <dlog.h>
 
 #include <system_info.h>
 #include <system_info_private.h>
@@ -38,7 +38,7 @@ int system_info_get_manufacturer(system_info_key_e key, system_info_data_type_e
 
 	manufacturer = strdup("samsung");
 	if (manufacturer == NULL) {
-		LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+		//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 		return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
     }
 
@@ -61,7 +61,7 @@ int system_info_get_tethering_supported(system_info_key_e key, system_info_data_
 	}
 
 	if (system_info_get_value_from_xml(TETHERING_INFO_FILE_PATH, model, "tethering-support", &string)) {
-		LOGE("cannot get tethering-support info from %s!!!", TETHERING_INFO_FILE_PATH);
+		//LOGE("cannot get tethering-support info from %s!!!", TETHERING_INFO_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
diff --git a/src/system_info_parse.c b/src/system_info_parse.c
index 0bc6b88..f3b412f 100644
--- a/src/system_info_parse.c
+++ b/src/system_info_parse.c
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <dlog.h>
+//#include <dlog.h>
 
 #include <system_info.h>
 #include <system_info_private.h>
@@ -47,14 +47,14 @@ int system_info_ini_get_string(char *ini_file, char *key, char **output)
 	ini = iniparser_load(ini_file);
 
 	if (ini == NULL) {
-		LOGE("cannot file open %s file!!!", ini_file);
+		//LOGE("cannot file open %s file!!!", ini_file);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	str = iniparser_getstring(ini, key, NULL);
 
 	if (str == NULL) {
-		LOGE("NOT found %s(0x%08x)", key, SYSTEM_INFO_ERROR_IO_ERROR);
+		//LOGE("NOT found %s(0x%08x)", key, SYSTEM_INFO_ERROR_IO_ERROR);
 		iniparser_freedict(ini);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -62,7 +62,7 @@ int system_info_ini_get_string(char *ini_file, char *key, char **output)
 	tmp = strdup(str);
 
 	if (tmp == NULL) {
-		LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+		//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 		iniparser_freedict(ini);
 		return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
 	}
@@ -86,13 +86,13 @@ int system_info_get_value_from_xml(char *xml_file_path, char *model, char *id_fi
 	doc = xmlParseFile(xml_file_path);
 
 	if (doc == NULL) {
-		LOGE("cannot file open %s file!!!", xml_file_path);
+		//LOGE("cannot file open %s file!!!", xml_file_path);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	cur = xmlDocGetRootElement(doc);
 	if (cur == NULL) {
-		LOGE("empty document %s file!!!", xml_file_path);
+		//LOGE("empty document %s file!!!", xml_file_path);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -103,7 +103,7 @@ int system_info_get_value_from_xml(char *xml_file_path, char *model, char *id_fi
 	}
 
 	if (cur == NULL) {
-		LOGE("cannot find %s root element file!!!", "sys-info");
+		//LOGE("cannot find %s root element file!!!", "sys-info");
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -137,7 +137,7 @@ int system_info_get_value_from_xml(char *xml_file_path, char *model, char *id_fi
 						free(string);
 						xmlFreeDoc(doc);
 						if (*value == NULL) {
-								LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+								//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 								xmlFreeDoc(doc);
 								return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
 						}
@@ -170,7 +170,7 @@ int system_info_get_value_from_xml(char *xml_file_path, char *model, char *id_fi
 							free(string);
 						xmlFreeDoc(doc);
 						if (*value == NULL) {
-								LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+								//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 								xmlFreeDoc(doc);
 								return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
 						}
@@ -183,7 +183,7 @@ int system_info_get_value_from_xml(char *xml_file_path, char *model, char *id_fi
 		}
 	}
 
-		LOGE("cannot find %s field from %s file!!!", id_field, xml_file_path);
+		//LOGE("cannot find %s field from %s file!!!", id_field, xml_file_path);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -201,13 +201,13 @@ int system_info_get_value_from_config_xml(char *feature_tag, const char *name_fi
 	doc = xmlParseFile(CONFIG_FILE_PATH);
 
 	if (doc == NULL) {
-		LOGE("cannot file open %s file!!!", CONFIG_FILE_PATH);
+		//LOGE("cannot file open %s file!!!", CONFIG_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	cur = xmlDocGetRootElement(doc);
 	if (cur == NULL) {
-		LOGE("empty document %s file!!!", CONFIG_FILE_PATH);
+		//LOGE("empty document %s file!!!", CONFIG_FILE_PATH);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -218,7 +218,7 @@ int system_info_get_value_from_config_xml(char *feature_tag, const char *name_fi
 	}
 
 	if (cur == NULL) {
-		LOGE("cannot find %s root element file!!!", MODEL_CONFIG_TAG);
+		//LOGE("cannot find %s root element file!!!", MODEL_CONFIG_TAG);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -231,7 +231,7 @@ int system_info_get_value_from_config_xml(char *feature_tag, const char *name_fi
 	}
 
 	if (model_node == NULL) {
-		LOGE("cannot find %s field from %s file!!!", name_field, CONFIG_FILE_PATH);
+		//LOGE("cannot find %s field from %s file!!!", name_field, CONFIG_FILE_PATH);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
@@ -247,7 +247,7 @@ int system_info_get_value_from_config_xml(char *feature_tag, const char *name_fi
 				if (!strncmp(name, name_field, strlen(name))) {
 					if (!strncmp(name, name_field, strlen(name_field))) {
 						if (strncmp(type, type_field, strlen(type_field))) {
-							LOGE("INVALID_PARAMETER(0x%08x) : invalid output param", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
+							//LOGE("INVALID_PARAMETER(0x%08x) : invalid output param", SYSTEM_INFO_ERROR_INVALID_PARAMETER);
 							free(name);
 							free(type);
 							xmlFreeDoc(doc);
@@ -270,13 +270,13 @@ int system_info_get_value_from_config_xml(char *feature_tag, const char *name_fi
 	}
 
 	if (!cur_node) {
-		LOGE("cannot find %s field from %s file!!!", name_field, CONFIG_FILE_PATH);
+		//LOGE("cannot find %s field from %s file!!!", name_field, CONFIG_FILE_PATH);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
 	if (*value == NULL) {
-		LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+		//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 		xmlFreeDoc(doc);
 		return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
 	}
diff --git a/src/system_info_platform.c b/src/system_info_platform.c
index 405004f..82abf9c 100644
--- a/src/system_info_platform.c
+++ b/src/system_info_platform.c
@@ -20,7 +20,7 @@
 #include <unistd.h>
 #include <string.h>
 
-#include <dlog.h>
+//#include <dlog.h>
 
 #include <system_info.h>
 #include <system_info_private.h>
@@ -72,7 +72,7 @@ int system_info_get_core_cpu_arch(system_info_key_e key, system_info_data_type_e
 		CORE_CPU_ARCH = strdup("x86");
 
 		if (CORE_CPU_ARCH == NULL) {
-		LOGE("Unknown cpu");
+		//LOGE("Unknown cpu");
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
@@ -92,7 +92,7 @@ int system_info_get_core_cpu_freq(system_info_key_e key, system_info_data_type_e
 	if (system_info_get_system_info_model_type() != SYSTEM_INFO_MODEL_TYPE_EMULATOR) {
 		cpuinfo_max_freq = fopen(CPU_INFO_MAX_FREQ_PATH, "r");
 		if (NULL == cpuinfo_max_freq) {
-			LOGE("cannot file open %s file!!!", CPU_INFO_MAX_FREQ_PATH);
+			//LOGE("cannot file open %s file!!!", CPU_INFO_MAX_FREQ_PATH);
 			return SYSTEM_INFO_ERROR_IO_ERROR;
 		} else {
 			if (fscanf(cpuinfo_max_freq, "%lf", &max_freq) < 1) {
@@ -106,7 +106,7 @@ int system_info_get_core_cpu_freq(system_info_key_e key, system_info_data_type_e
 		/* Emulator */
 		cpuinfo = fopen(CPU_INFO_FILE_PATH, "r");
 		if (NULL == cpuinfo) {
-			LOGE("cannot file open %s file!!!", CPU_INFO_FILE_PATH);
+			//LOGE("cannot file open %s file!!!", CPU_INFO_FILE_PATH);
 			return SYSTEM_INFO_ERROR_IO_ERROR;
 		} else {
 			while (fgets(str, MAXBUFSIZE, cpuinfo)) {
@@ -144,7 +144,7 @@ int system_info_get_tizen_version_name(system_info_key_e key, system_info_data_t
 
 	info = fopen(OS_RELEASE_FILE_PATH, "r");
 	if (NULL == info) {
-		LOGE("cannot file open %s file!!!", OS_RELEASE_FILE_PATH);
+		//LOGE("cannot file open %s file!!!", OS_RELEASE_FILE_PATH);
 		return SYSTEM_INFO_ERROR_IO_ERROR;
 	}
 
@@ -159,7 +159,7 @@ int system_info_get_tizen_version_name(system_info_key_e key, system_info_data_t
 
 			TIZEN_VERSION_NAME = strdup(tmpStr);
 			if (TIZEN_VERSION_NAME == NULL) {
-				LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
+				//LOGE("OUT_OF_MEMORY(0x%08x)", SYSTEM_INFO_ERROR_OUT_OF_MEMORY);
 				fclose(info);
 				return SYSTEM_INFO_ERROR_OUT_OF_MEMORY;
 			}
diff --git a/src/system_info_screen.c b/src/system_info_screen.c
index 9af9f81..c9979d7 100644
--- a/src/system_info_screen.c
+++ b/src/system_info_screen.c
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <dlog.h>
+//#include <dlog.h>
 
 #ifndef WAYLAND_PLATFORM
 #include <X11/Xlib.h>
@@ -68,14 +68,14 @@ int system_info_screen_init()
 	memset(&g_pinfo, 0x0, sizeof(ProgInfo));
 	#ifdef WAYLAND_PLATFORM
 	//In wayland environment, noting to do in this function, FIXME if necessary.
-	LOGE("In wayland environment, system_info_screen_init Failed");
+	//LOGE("In wayland environment, system_info_screen_init Failed");
 	system_info_screen_initialized = 1;
 		return -1;
 	#else
 	int i;
 	g_pinfo.dpy = XOpenDisplay(NULL);
 	if (NULL == g_pinfo.dpy) {
-		LOGE("XOpenDisplay Failed");
+		//LOGE("XOpenDisplay Failed");
 		return -1;
 	}
 
@@ -85,7 +85,7 @@ int system_info_screen_init()
 
 	if (!XRRQueryExtension(g_pinfo.dpy, &g_pinfo.event_base, &g_pinfo.error_base) ||
 		!XRRQueryVersion(g_pinfo.dpy, &g_pinfo.major, &g_pinfo.minor)) {
-		LOGE("XRRQuery Failed");
+		//LOGE("XRRQuery Failed");
 		XCloseDisplay(g_pinfo.dpy);
 		return -1;
 	}
@@ -93,7 +93,7 @@ int system_info_screen_init()
 	g_pinfo.res = XRRGetScreenResources(g_pinfo.dpy, g_pinfo.root);
 
 	if (!g_pinfo.res) {
-		LOGE("XRRGetScreenResources Failed");
+		//LOGE("XRRGetScreenResources Failed");
 		XCloseDisplay(g_pinfo.dpy);
 		return -1;
 	}
@@ -101,7 +101,7 @@ int system_info_screen_init()
 	for (i = 0; i < g_pinfo.res->noutput; i++) {
 		XRROutputInfo *output_info = XRRGetOutputInfo(g_pinfo.dpy, g_pinfo.res, g_pinfo.res->outputs[i]);
 		if (!output_info) {
-			LOGE("XRRGetOutputInfo Failed");
+			//LOGE("XRRGetOutputInfo Failed");
 			XCloseDisplay(g_pinfo.dpy);
 			return -1;
 		}