wLog
WinPR logging facility
- Provided by: libwinpr2-2 (Version: 2.6.1+dfsg1-0ubuntu0.20.04.2)
- Source: freerdp2
- Report a bug
WinPR logging facility
wLog is a configurable and flexible logging system used throughout WinPR and FreeRDP.
The primary concept is to have a hierarchy of loggers that can be be configured independently.
WLog uses different appenders that define where the log output should be written to. If the application doesn't explicitly configure the appenders the below described variable WLOG_APPENDER can be used to choose one appender.
The following kind of appenders are available:
If no target is set the default one 127.0.0.1:20000 is used. To receive the log messages one can use netcat. To receive the default target the following command can be used: nc -u 127.0.0.1 -p 20000 -l
The WLog are complementary, the higher level always includes the lower ones. The level list below is top down. Top the highest level.
The format a logger prints has the following possible options:
A maximum of 16 options can be used per format string.
An example that generally sets the WLOG_PREFIX for xfreerdp would look like: WLOG_PREFIX="pid=%pid:tid=%tid:fn=%fn -" xfreerdp /v:xxx
example: WLOG_FILTER=core.channel:DEBUG,dummy:TRACE will display debug messages for the core.channel logger and trace level for the dummy logger
Please report any bugs using the bug reporting form on the FreeRDP web site
Additional information and the latest version is available at the web site: http://www.freerdp.com
David Fort <contact@hardening-consulting.com> wrote this manpage from materials written by Bernhard Miklautz <bernhard.miklautz@thincast.com>.