]> TLD Linux GIT Repositories - packages/xrdp.git/blob - quiet.patch
- updated to 0.9.11
[packages/xrdp.git] / quiet.patch
1 diff -ur xrdp-0.9.11.orig/common/log.c xrdp-0.9.11/common/log.c
2 --- xrdp-0.9.11.orig/common/log.c       2019-03-25 03:34:16.000000000 +0100
3 +++ xrdp-0.9.11/common/log.c    2019-08-21 23:15:55.763000000 +0200
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.11.orig/xrdp/xrdp.c xrdp-0.9.11/xrdp/xrdp.c
19 --- xrdp-0.9.11.orig/xrdp/xrdp.c        2019-08-19 17:39:17.000000000 +0200
20 +++ xrdp-0.9.11/xrdp/xrdp.c     2019-08-21 23:16:41.256000000 +0200
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  
41          if (0 != pid)
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);