Commit Graph

6 Commits

Author SHA1 Message Date
Henrik Andersson
87d8d123b8 Rework the logging system
This commit will add a logging system to solve the problem that
one actually need to recompile rdesktop from source to enable
different debug logging.

- Same logging api  for all kind of logging and messages to
   end user.

- Adding -v for verbose output when running rdesktop.

- All messages are logged into a subject and with a type, eg:

     logger(Keyboard, Notice, "Autos-electing %s based on locale.", locale);

- Debug logging is enabled trough a environment variable RDEKSTOP_DEBUG,
  which specifies subjects of interest, comma separated. There is a special
  subject named All which includes all subject for debug loggin. There is also
  a simple logic opeartor '!' = NOT which can be used in combination like:

    RDESKTOP_DEBUG=All,!Graphics,!Sound

  Which would give debug log output for All subject except Graphics and Sound.
2017-01-26 14:19:40 +01:00
Peter Åstrand
281d7c9f06 Changed license to GPLv3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Peter Åstrand
5dbe5f0a05 Corrected license header
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1532 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:03:31 +00:00
Jay Sorg
6091381a81 prefix BOOL with RD_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1371 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-08 04:47:06 +00:00
Peter Åstrand
ea93ffc466 Added Emacs header, indicating c-basic-offset.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1086 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 07:14:30 +00:00
Peter Åstrand
782e679649 Added missing lspci.c
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1053 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-06 07:00:29 +00:00