Commit Graph

37 Commits (94b4dcc764891979a209451563ec1a4365e45472)

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