Enable dlog 79/318079/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250114.041606
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 6 Jan 2025 06:49:53 +0000 (15:49 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Mon, 13 Jan 2025 04:54:34 +0000 (13:54 +0900)
Change-Id: I8fff9634ce551a2ca5fa05d47e3a69e33af84ea3

src/headless_server.c

index 36d8a4be4113f0e04a0912991a5a7b438655a7e7..5328d3b9c3e6a8b10163f5d5f9c1bfb0ff01fc3b 100644 (file)
@@ -124,10 +124,7 @@ main(int argc, char *argv[])
        setvbuf(stdout, NULL, _IONBF, 0);
        setvbuf(stderr, NULL, _IONBF, 0);
 
-       if (getenv("HEADLESS_SERVER_DLOG_ENABLE")) {
-               HS_TRACE("ds log will be written to dlog !\n");
-               ds_log_init(DS_INF, handle_ds_log);
-       }
+       ds_log_init(DS_INF, handle_ds_log);
 
        if (!getenv("XDG_RUNTIME_DIR"))
                setenv("XDG_RUNTIME_DIR", "/run", 1);