From d0c27a29048096ea3c9c4f15cdea6df7b4915ee0 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Wed, 29 Nov 2017 13:14:30 +0900 Subject: [PATCH] common: suppress log when closing log files because if xrdp is running 'fork=yes' mode, the log message 'shutting down log subsystem...' is logged everytime when the child process is exitting. In other words, everytime when clients are disconnecting. This is a little bit too vebose. --- common/log.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/log.c b/common/log.c index 84f0dd71..ea2af316 100644 --- a/common/log.c +++ b/common/log.c @@ -198,9 +198,6 @@ internal_log_end(struct log_config *l_cfg) return ret; } - /* closing log file */ - log_message(LOG_LEVEL_ALWAYS, "shutting down log subsystem..."); - if (-1 != l_cfg->fd) { /* closing logfile... */