diff options
| author | Koichiro IWAO <meta@vmeta.jp> | 2017-11-29 13:14:30 +0900 | 
|---|---|---|
| committer | metalefty <meta@vmeta.jp> | 2017-11-30 15:13:18 +0900 | 
| commit | d0c27a29048096ea3c9c4f15cdea6df7b4915ee0 (patch) | |
| tree | 597137a6afb4bd53de7a29881f96164981113ece | |
| parent | d958d1f0186968200da32bafc3d9be4a4aa7212d (diff) | |
| download | xrdp-proprietary-d0c27a29048096ea3c9c4f15cdea6df7b4915ee0.tar.gz xrdp-proprietary-d0c27a29048096ea3c9c4f15cdea6df7b4915ee0.zip | |
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.
| -rw-r--r-- | common/log.c | 3 | 
1 files changed, 0 insertions, 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... */ | 
