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
5 /* try to create path if not exist */
6 g_create_path(lc->log_file);
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;
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
23 if (startup_params->kill)
25 - g_writeln("stopping xrdp");
26 + /*g_writeln("stopping xrdp");*/
27 /* read the xrdp.pid file */
31 g_memset(text, 0, 32);
32 g_file_read(fd, text, 31);
34 - g_writeln("stopping process id %d", pid);
35 + /*g_writeln("stopping process id %d", pid);*/
40 or systemd cannot detect xrdp daemon couldn't start properly */
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 */