Commit Graph

45 Commits

Author SHA1 Message Date
matt335672 ebc21fe180 Added -c / --config to xrdp 2020-10-16 10:55:23 +01:00
matt335672 61b9a42fc5 Fixed compiler warnings about snprintf truncations 2020-09-02 10:32:38 +01:00
matt335672 27653f97f2 Code changes for cppcheck 2.1 warnings 2020-06-19 11:07:23 +01:00
daixj 31ef2552c4 log: revert permission 2018-02-13 16:44:37 +09:00
daixj ea6bb62410 log: fix fd checking 2018-02-13 16:44:37 +09:00
daixj 551bb185c5 log: remove unused code and fix potential memory leak 2018-02-13 16:44:37 +09:00
Koichiro IWAO d0c27a2904 common: suppress log when closing log files
because if xrdp is running 'fork=yes' mode, the log message
'shutting down log subsystem...' is logged everytime when the child
process is exitting. In other words, everytime when clients are
disconnecting.  This is a little bit too vebose.
2017-11-30 15:13:18 +09:00
Koichiro IWAO 2411a0be14 log: add log level TRACE
TRACE means more verbose than DEBUG. syslog doesn't have more verbose
level than DEBUG, map TRACE to DEBUG for syslog.
2017-10-13 15:09:33 +09:00
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin b2d3dcf169 Include config_ac.h from all source files 2017-03-04 00:52:34 -08:00
Jay Sorg e0ac84aaa4 change some casts to long long 2017-02-22 20:39:56 -08:00
Jay Sorg 7825246d7a fix warning new since stdint.h change 2017-02-22 20:39:56 -08:00
Pavel Roskin 6fef1e4eb5 Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
Pavel Roskin 5829323ad8 Use g_new or g_new0 when C++ compiler would complain about implicit cast 2016-07-08 04:29:49 +00:00
Pavel Roskin 951e632757 Make program_name constant, don't duplicate or free it 2016-07-08 04:27:07 +00:00
Pavel Roskin ca9cbcafc8 Typo fixes 2016-05-04 23:33:30 -07:00
Jay Sorg 89f449aa01 common: set log file fd to close on exec 2015-09-27 01:25:07 -07:00
Jay Sorg 7695f3d87b common: fix logic for internal_log_end 2015-09-27 01:24:14 -07:00
Jay Sorg 2cb2de7277 common: log, g_ prefix for global 2014-07-25 22:42:07 -07:00
Laxmikant Rashinkar 3bb31876e7 coverity: fixed resolution leak issues 2014-07-19 11:56:00 -07:00
Jay Sorg 374633e63f common: no logic change, update comments 2014-03-01 23:26:40 -08:00
Jay Sorg 1a616a1b46 move text2bool to os_calls 2013-08-24 22:41:44 -07:00
Jay Sorg c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
ArvidNorr fe69d2f07b Comments and debug when blocking channels added. Fix for potential vulnerability in log.c 2013-02-01 10:00:39 +01:00
LawrenceK e47a9cea97 Allow for any non 0 and the string to also be true. These are the tests used elsewhere in the xrdp code. 2013-01-17 11:31:01 +00:00
Laxmikant Rashinkar 1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
Jay Sorg 099a421c77 log: added path for when --prefix is used 2012-06-10 21:50:57 -07:00
Jay Sorg dbd2cbca8e syslog: cs/minor changes 2012-06-04 12:51:22 -07:00
norrarvid 4d4ebbf363 Initial syslog support in XRDP 2012-05-27 17:17:39 +02:00
Jay Sorg bb7898419f update copyright year 2010-10-19 20:00:38 -07:00
jsorg71 6c5f82fd04 update copyright year 2009-02-02 08:01:44 +00:00
ilsimo 4c9d3862e5 updating logging subsystem 2008-02-20 22:02:24 +00:00
jsorg71 38b789e81f update copyright year 2008-01-30 07:30:10 +00:00
jsorg71 084a20ac1b dont need length in strcmp 2007-02-03 06:21:58 +00:00
jsorg71 02cd95ebef copyright year update 2007-01-12 05:01:58 +00:00
jsorg71 00d8b7106f commit patch 1589325, slightly modified - code cleanup 2006-11-04 22:05:06 +00:00
jsorg71 f386cea14a make some functions static per 1579343 2006-10-24 04:05:38 +00:00
jsorg71 74ff4b4a97 fix lock problem 2006-08-25 04:09:20 +00:00
jsorg71 32a405a1d9 #include using <> 2006-08-23 03:45:56 +00:00
jsorg71 7964620914 got log.c compiling and formating changes and comments 2006-08-21 03:17:39 +00:00
ilsimo 9e2235ceaa making (hopefully) the logging system thread-safe 2006-06-04 12:10:02 +00:00
jsorg71 b65409683b copyright year updates 2006-03-21 02:05:38 +00:00
ilsimo 9a6def0263 added logging to stdout 2005-11-16 12:15:56 +00:00
ilsimo ec3016ca87 fixing some errors in logging functions
- removing warnings created by LOG_DBG() macro
- fixing syslog message error
- adding platform specific end of line
2005-10-26 20:20:25 +00:00
ilsimo ba1ea148f4 Added logging subsystem 2005-10-23 21:50:42 +00:00