remove unwanted log level set to debug in rfx
authorFabio Fantoni <fabio.fantoni@m2r.biz>
Sat, 28 Nov 2020 12:50:42 +0000 (13:50 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 1 Dec 2020 14:10:23 +0000 (15:10 +0100)
I saw on debian packages (that have -DWITH_DEBUG_ALL=ON) remotefx logs always to
debug without respect log-level and log-filters settings making diffult
debugging of issue on other parts.
After a search I found this that set loglevel to debug that akallabeth confirmed
is unwanted, this patch remove it.

Closes #6606

(cherry picked from commit f3e5ebe315f81f61688b79aa979c8d4ea89f8e87)

libfreerdp/codec/rfx.c

index b7db992..5e48690 100644 (file)
@@ -220,9 +220,6 @@ RFX_CONTEXT* rfx_context_new(BOOL encoder)
 
        priv->log = WLog_Get("com.freerdp.codec.rfx");
        WLog_OpenAppender(priv->log);
-#ifdef WITH_DEBUG_RFX
-       WLog_SetLogLevel(priv->log, WLOG_DEBUG);
-#endif
        priv->TilePool = ObjectPool_New(TRUE);
 
        if (!priv->TilePool)