Thomas Porzelt
|
58cf85f5d1
|
remove old log stuff
|
15 years ago |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
15 years ago |
Thomas Porzelt
|
358b9f95f1
|
implement throttling, change some time_t to ev_tstamp
|
15 years ago |
Thomas Porzelt
|
e9f8b51452
|
add LOG_TYPE_NONE that doesn't log anything
|
15 years ago |
Stefan Bühler
|
73fff068c3
|
Merge virtual requests
|
15 years ago |
Stefan Bühler
|
566cbdb024
|
virtual requests; they replace a big part from connection.
|
15 years ago |
Thomas Porzelt
|
ed347d2f0c
|
small memory fix in log.c
|
15 years ago |
Thomas Porzelt
|
5150637e13
|
implemented port feature for listen setup; small memleak und config parser fixes
|
15 years ago |
Thomas Porzelt
|
30bae997eb
|
moved log cleanups to own function; fixed memleaks in config parser and plugin_core
|
15 years ago |
Stefan Bühler
|
091f122aad
|
Renamed option -> value, some other minor/related renames; added option_value as
datatype for the value of options (union for ptr/gin64)
|
15 years ago |
Thomas Porzelt
|
292d013134
|
reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options
|
15 years ago |
Stefan Bühler
|
bfd20c2662
|
Add missing includes for open/fcntl
|
15 years ago |
Thomas Porzelt
|
623e10d7a0
|
added missing insert into hashtable for logs, removed lock from log_free_unlocked()
|
15 years ago |
Stefan Bühler
|
dbc9859ce8
|
Use atomic refcount operations
|
15 years ago |
Stefan Bühler
|
0fe9176d6f
|
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
|
15 years ago |
Thomas Porzelt
|
c1bc3b8e0a
|
small cleanup in config parser; small fix in log.c
|
15 years ago |
Thomas Porzelt
|
f795f2463a
|
added ^= (prefix match) and $= (suffix match) operators
|
15 years ago |
Stefan Bühler
|
1bc8c85266
|
* replace strerror with g_strerror, kill errno from logging
* starting chunked encoding filter
* network write cleanup + sendfile backend (default for now)
|
15 years ago |
Thomas Porzelt
|
1901397a0e
|
minor enhencements; added log.level and log.target options
|
15 years ago |
Thomas Porzelt
|
1798e226ff
|
fixed fd initialization warning with -O2 in log.c
|
15 years ago |
Thomas Porzelt
|
2d08b0b823
|
small changes
|
15 years ago |
Thomas Porzelt
|
09481f470f
|
changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions
|
15 years ago |
Thomas Porzelt
|
a603d799f6
|
config parser changes; removed srv->mutex
|
15 years ago |
Thomas Porzelt
|
5e700e79e1
|
small config parser and log changes
|
15 years ago |
Thomas Porzelt
|
a9cbec1046
|
config parser rewritten
|
15 years ago |
Thomas Porzelt
|
9858f4ee66
|
exit on log with level LOG_LEVEL_ERROR
|
15 years ago |
Thomas Porzelt
|
5045a5ee04
|
made log refcounting, srv->exiting and srv->rotate_logs atomic operations; moved server and connection structs from base.h into server.h and connection.h respectively
|
15 years ago |
Thomas Porzelt
|
e80f384fac
|
splitted log_thread_start() out of log_init() do enable delay of actual writing
|
15 years ago |
Thomas Porzelt
|
a37ec08db5
|
logging changes
|
15 years ago |
Thomas Porzelt
|
f5fdc41644
|
changed logging to use references
|
15 years ago |
Thomas Porzelt
|
6c7d8a1165
|
log fixes
|
15 years ago |
Thomas Porzelt
|
49dfcddc2a
|
added convenience makros for logging
|
15 years ago |
Thomas Porzelt
|
a662b01aca
|
removed now unneeded mutex in log_t
|
15 years ago |
Thomas Porzelt
|
4880a44903
|
introduced log levels
|
15 years ago |
Thomas Porzelt
|
88f6a30274
|
introduced a logging thread
|
15 years ago |
Thomas Porzelt
|
b2697e7cb8
|
log_write_() improved
|
15 years ago |
Thomas Porzelt
|
acf42d82b4
|
added mutexes for server und connection structs; log_write_() proposal added
|
15 years ago |
Stefan Bühler
|
9372e41393
|
Initial commit
|
15 years ago |