Thomas Porzelt
|
1901397a0e
|
minor enhencements; added log.level and log.target options
|
2008-08-13 19:57:19 +02:00 |
Thomas Porzelt
|
b0615d2198
|
merged from lp
|
2008-08-09 19:19:18 +02:00 |
Stefan Bühler
|
b8e3535546
|
Enabled options, moved some initializing
|
2008-08-08 18:49:00 +02:00 |
Thomas Porzelt
|
09481f470f
|
changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions
|
2008-08-06 23:48:39 +02:00 |
Stefan Bühler
|
54ac4151cf
|
Remove include "ev.h" (gets included in settings.h)
|
2008-07-23 21:33:59 +02:00 |
Thomas Porzelt
|
9858f4ee66
|
exit on log with level LOG_LEVEL_ERROR
|
2008-07-22 16:00:31 +02:00 |
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
|
2008-07-20 18:28:58 +02:00 |
Thomas Porzelt
|
e80f384fac
|
splitted log_thread_start() out of log_init() do enable delay of actual writing
|
2008-07-20 17:12:17 +02:00 |
Thomas Porzelt
|
a37ec08db5
|
logging changes
|
2008-07-20 16:35:04 +02:00 |
Thomas Porzelt
|
f5fdc41644
|
changed logging to use references
|
2008-07-19 22:13:32 +02:00 |
Thomas Porzelt
|
9ed64ee1fc
|
merged from rev 48
|
2008-07-19 15:16:21 +02:00 |
Thomas Porzelt
|
6c7d8a1165
|
log fixes
|
2008-07-19 15:12:32 +02:00 |
Stefan Bühler
|
50bb61a041
|
Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings)
|
2008-07-19 12:56:44 +02:00 |
Thomas Porzelt
|
49dfcddc2a
|
added convenience makros for logging
|
2008-07-19 01:33:12 +02:00 |
Thomas Porzelt
|
a662b01aca
|
removed now unneeded mutex in log_t
|
2008-07-19 00:51:17 +02:00 |
Thomas Porzelt
|
4880a44903
|
introduced log levels
|
2008-07-19 00:38:33 +02:00 |
Thomas Porzelt
|
88f6a30274
|
introduced a logging thread
|
2008-07-19 00:11:08 +02:00 |
Thomas Porzelt
|
b2697e7cb8
|
log_write_() improved
|
2008-07-18 22:16:30 +02:00 |
Stefan Bühler
|
9372e41393
|
Initial commit
|
2008-06-24 21:19:20 +02:00 |