]>
Commit | Line | Data |
---|---|---|
185a9537 MK |
1 | diff -ur xrdp-0.9.7.orig/common/log.c xrdp-0.9.7/common/log.c |
2 | --- xrdp-0.9.7.orig/common/log.c 2018-06-04 15:01:57.000000000 +0000 | |
3 | +++ xrdp-0.9.7/common/log.c 2018-07-04 15:24:35.592840196 +0000 | |
4 | @@ -382,11 +382,11 @@ | |
5 | /* try to create path if not exist */ | |
6 | g_create_path(lc->log_file); | |
7 | ||
8 | - g_printf("logging configuration:\r\n"); | |
9 | + /*g_printf("logging configuration:\r\n"); | |
10 | g_printf("\tLogFile: %s\r\n", lc->log_file); | |
11 | g_printf("\tLogLevel: %i\r\n", lc->log_level); | |
12 | g_printf("\tEnableSyslog: %i\r\n", lc->enable_syslog); | |
13 | - g_printf("\tSyslogLevel: %i\r\n", lc->syslog_level); | |
14 | + g_printf("\tSyslogLevel: %i\r\n", lc->syslog_level);*/ | |
15 | return LOG_STARTUP_OK; | |
16 | } | |
17 | ||
18 | diff -ur xrdp-0.9.7.orig/xrdp/xrdp.c xrdp-0.9.7/xrdp/xrdp.c | |
19 | --- xrdp-0.9.7.orig/xrdp/xrdp.c 2018-06-29 08:06:27.000000000 +0000 | |
20 | +++ xrdp-0.9.7/xrdp/xrdp.c 2018-07-04 15:26:48.163832295 +0000 | |
21 | @@ -475,7 +475,7 @@ | |
22 | ||
23 | if (startup_params->kill) | |
24 | { | |
25 | - g_writeln("stopping xrdp"); | |
26 | + /*g_writeln("stopping xrdp");*/ | |
27 | /* read the xrdp.pid file */ | |
28 | fd = -1; | |
29 | ||
30 | @@ -493,7 +493,7 @@ | |
31 | g_memset(text, 0, 32); | |
32 | g_file_read(fd, text, 31); | |
33 | pid = g_atoi(text); | |
34 | - g_writeln("stopping process id %d", pid); | |
35 | + /*g_writeln("stopping process id %d", pid);*/ | |
36 | ||
37 | if (pid > 0) | |
38 | { | |
39 | @@ -597,7 +597,7 @@ | |
40 | or systemd cannot detect xrdp daemon couldn't start properly */ | |
41 | g_exit(1); | |
42 | } | |
43 | - g_writeln("daemon process %d started ok", pid); | |
44 | + /*g_writeln("daemon process %d started ok", pid);*/ | |
45 | /* exit, this is the main process */ | |
46 | g_deinit(); | |
47 | g_exit(0); |