From 53027ad5af2a2e37b1717b0e27b337ba7758c294 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 16 Dec 2021 10:38:59 +0900 Subject: [PATCH] Use LOG instead of LOG_DEVEL According to https://github.com/neutrinolabs/xrdp/wiki/Logging, it may be better to emit this log message because this log is useful for system administrator to know whether RestrictOutboundClipboard configuration works or not And raise log level to info because it is informative for system administrator. --- sesman/chansrv/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c index eb8197f6..245a51ee 100644 --- a/sesman/chansrv/clipboard.c +++ b/sesman/chansrv/clipboard.c @@ -2533,7 +2533,7 @@ clipboard_xevent(void *xevent) } else { - LOG_DEVEL(LOG_LEVEL_DEBUG, "outbound clipboard is restricted because of config"); + LOG(LOG_LEVEL_INFO, "outbound clipboard is restricted because of config"); return 1; } break;