daixj
31ef2552c4
log: revert permission
7 years ago
daixj
ea6bb62410
log: fix fd checking
7 years ago
daixj
551bb185c5
log: remove unused code and fix potential memory leak
7 years ago
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.
7 years ago
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.
7 years ago
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
8 years ago
Pavel Roskin
b2d3dcf169
Include config_ac.h from all source files
8 years ago
Jay Sorg
e0ac84aaa4
change some casts to long long
8 years ago
Jay Sorg
7825246d7a
fix warning new since stdint.h change
8 years ago
Pavel Roskin
6fef1e4eb5
Use const pointers in function arguments when possible
8 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
8 years ago
Pavel Roskin
951e632757
Make program_name constant, don't duplicate or free it
8 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
Jay Sorg
89f449aa01
common: set log file fd to close on exec
9 years ago
Jay Sorg
7695f3d87b
common: fix logic for internal_log_end
9 years ago
Jay Sorg
2cb2de7277
common: log, g_ prefix for global
10 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
10 years ago
Jay Sorg
374633e63f
common: no logic change, update comments
11 years ago
Jay Sorg
1a616a1b46
move text2bool to os_calls
11 years ago
Jay Sorg
c6fa03102f
copyright year update
12 years ago
ArvidNorr
fe69d2f07b
Comments and debug when blocking channels added. Fix for potential vulnerability in log.c
12 years ago
LawrenceK
e47a9cea97
Allow for any non 0 and the string to also be true. These are the tests used elsewhere in the xrdp code.
12 years ago
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
12 years ago
Jay Sorg
099a421c77
log: added path for when --prefix is used
13 years ago
Jay Sorg
dbd2cbca8e
syslog: cs/minor changes
13 years ago
norrarvid
4d4ebbf363
Initial syslog support in XRDP
13 years ago
Jay Sorg
bb7898419f
update copyright year
14 years ago
jsorg71
6c5f82fd04
update copyright year
16 years ago
ilsimo
4c9d3862e5
updating logging subsystem
17 years ago
jsorg71
38b789e81f
update copyright year
17 years ago
jsorg71
084a20ac1b
dont need length in strcmp
18 years ago
jsorg71
02cd95ebef
copyright year update
18 years ago
jsorg71
00d8b7106f
commit patch 1589325, slightly modified - code cleanup
18 years ago
jsorg71
f386cea14a
make some functions static per 1579343
18 years ago
jsorg71
74ff4b4a97
fix lock problem
18 years ago
jsorg71
32a405a1d9
#include using <>
19 years ago
jsorg71
7964620914
got log.c compiling and formating changes and comments
19 years ago
ilsimo
9e2235ceaa
making (hopefully) the logging system thread-safe
19 years ago
jsorg71
b65409683b
copyright year updates
19 years ago
ilsimo
9a6def0263
added logging to stdout
19 years ago
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
19 years ago
ilsimo
ba1ea148f4
Added logging subsystem
19 years ago