1 diff -ur xrdp-0.9.10.orig/common/log.c xrdp-0.9.10/common/log.c
2 --- xrdp-0.9.10.orig/common/log.c 2019-04-18 07:38:26.000000000 +0200
3 +++ xrdp-0.9.10/common/log.c 2019-05-22 18:37:25.964000000 +0200
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.10.orig/xrdp/xrdp.c xrdp-0.9.10/xrdp/xrdp.c
19 --- xrdp-0.9.10.orig/xrdp/xrdp.c 2019-04-18 07:38:26.000000000 +0200
20 +++ xrdp-0.9.10/xrdp/xrdp.c 2019-05-22 18:37:25.964000000 +0200
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 */