summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorArvidNorr <norrarvid@gmail.com>2013-01-18 10:24:25 +0100
committerArvidNorr <norrarvid@gmail.com>2013-01-18 10:24:25 +0100
commit975d44e99f21e9bb9249ecb5bdc81122c3bc63be (patch)
tree7de3ba47d4986e3b38b105c7fa456e85125a5878 /libxrdp
parentffc7e7ff270134c7f5c73f8f86cac81038e8fee3 (diff)
downloadxrdp-proprietary-975d44e99f21e9bb9249ecb5bdc81122c3bc63be.tar.gz
xrdp-proprietary-975d44e99f21e9bb9249ecb5bdc81122c3bc63be.zip
More logging added
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_mcs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libxrdp/xrdp_mcs.c b/libxrdp/xrdp_mcs.c
index 77c0d10d..435595e5 100644
--- a/libxrdp/xrdp_mcs.c
+++ b/libxrdp/xrdp_mcs.c
@@ -19,6 +19,7 @@
*/
#include "libxrdp.h"
+#include "log.h"
/*****************************************************************************/
struct xrdp_mcs *APP_CC
@@ -146,12 +147,12 @@ xrdp_mcs_recv(struct xrdp_mcs *self, struct stream *s, int *chan)
{
in_uint16_be(s, userid);
in_uint16_be(s, chanid);
- g_writeln("channel join request received %d:%d", userid, chanid);
+ log_message(LOG_LEVEL_DEBUG,"MCS_CJRQ - channel join request received");
DEBUG(("xrdp_mcs_recv adding channel %4.4x", chanid));
if (xrdp_mcs_send_cjcf(self, userid, chanid) != 0)
{
- g_writeln("Non handled error from xrdp_mcs_send_cjcf") ;
+ log_message(LOG_LEVEL_ERROR,"Non handled error from xrdp_mcs_send_cjcf") ;
}
continue;
@@ -163,7 +164,7 @@ xrdp_mcs_recv(struct xrdp_mcs *self, struct stream *s, int *chan)
}
else
{
- g_writeln("Recieved an unhandled appid:%d", appid);
+ log_message(LOG_LEVEL_DEBUG,"Recieved an unhandled appid:%d",appid);
}
break;