Roberto De Ioris
20a0be1897
worker logger implementation #894
2015-08-27 05:43:04 +02:00
Riccardo Magliocchetti
f674af3972
Don't touch rss if it hasn't been initialized in get_memusage
...
Followup for Coverity CID 1308302
2015-07-07 15:49:14 +02:00
Riccardo Magliocchetti
39bea1de5d
logging: use fchmod instead of chmod to avoid TOCTOU race
...
Reported by flawfinder
2015-04-30 15:38:45 +02:00
didrix
9b67cd4588
Remove duplicate include.
...
Remove duplicate include of <sys/sysctl.h>.
2014-10-26 21:35:51 +01:00
didrix
1da0bac8c8
Added missing header for 'KERN_PROC_PID'
...
<sys/sysctl.h> is needed for ‘KERN_PROC_PID’ on (at least) OpenBSD.
2014-10-26 20:16:04 +01:00
Unbit
ed2ca5d333
request buffer_size is now 64bit (except for uwsgi protocol)
2014-09-21 08:26:20 +02:00
Riccardo Magliocchetti
5b2a3c28d0
logging: reindent setup_choosen_logger
2014-08-04 16:27:14 +02:00
Riccardo Magliocchetti
01a5611159
logging: extract uwsgi_log_do_rotate from uwsgi_log_rotate
...
So it can be reused
2014-08-04 16:24:22 +02:00
Riccardo Magliocchetti
bf692c4d18
logging: fixup uwsgi_log_rotate indentation
...
So one can actually read it
2014-08-04 15:39:20 +02:00
Roberto De Ioris
bf67984049
fixed #642
2014-06-02 06:53:06 +02:00
Unbit
4f89a350aa
fixed json escaper
2014-04-30 07:42:11 +02:00
Łukasz Mierzwa
3061e36089
check lseek return value in uwsgi_check_logrotate()
2014-04-06 15:03:17 +02:00
Unbit
e7cce7b785
fixed segfault for unnamed loggers
2014-03-18 16:16:12 +01:00
Unbit
808d37f33a
fixed ftime log var
2014-02-20 10:52:05 +01:00
Unbit
61f3d162a4
getting rid og dynamic options (step 1)
2013-12-26 16:48:50 +01:00
Unbit
68049a5177
more solid log rotation
2013-12-21 08:11:35 +01:00
Unbit
3b64838324
fixed snprintf() usage all over the place
2013-12-20 08:54:27 +01:00
Unbit
51714203a7
added var. logchunk
2013-12-10 17:19:58 +01:00
Unbit
ca9d1830bb
refactored logchunks management
2013-12-08 05:43:21 +01:00
Unbit
a573602171
added tmsecs and tmicros log vars
2013-12-04 12:56:31 +01:00
Unbit
b304766718
added werr, rerr and ioerr to logvars
2013-11-26 07:20:36 +01:00
Unbit
0ab1cfacc9
added read errors counters and --log-ioerror
2013-11-26 07:13:07 +01:00
Unbit
e606d1e5d1
removal of embedded zeromq api
2013-11-18 11:11:46 +01:00
Unbit
065dd7cfff
return after grace_them_all
2013-11-10 06:49:02 +01:00
Riccardo Magliocchetti
2cc17d6b11
core/logging: if we cannot reopen the log exit
...
This fixes passing negative fds to write and lseek.
Reported by Coverity as CID #1100807 .
2013-11-09 16:15:49 +01:00
Pavlo Kapyshin
95ea88628a
Fix typos
2013-11-02 18:40:05 +02:00
Unbit
d2f69af964
fixed #428
2013-10-26 05:47:47 +02:00
Unbit
baa1bf21f1
expose metrics to request logging
2013-10-21 10:54:19 +02:00
Unbit
a57617c09a
added fd: logger and routable log encoders
2013-09-19 06:41:09 +02:00
Unbit
4ad2658090
added master fifo
2013-09-18 11:08:56 +02:00
Unbit
e136128408
added compress and suffix log encoders
2013-09-11 14:04:26 +02:00
Unbit
39bc0ecd46
OpenBSD has not strndup
2013-09-10 21:43:24 +02:00
Unbit
0223c74ecc
added json log encoder
2013-09-10 19:24:50 +02:00
Unbit
c7004d7ba4
added nl and format log encoders
2013-09-10 19:15:20 +02:00
Unbit
abcd3242d8
added log encoders
2013-09-07 10:40:40 +02:00
Roberto De Ioris
2daf6f1f66
fixed #75
2013-08-30 08:07:50 +02:00
Unbit
5d8e5d943f
improved smartos support
2013-08-29 10:30:01 +00:00
INADA Naoki
d320075ab0
Add %(ftime) to logformat.
2013-08-20 16:45:59 +09:00
Unbit
e0964d07ea
ported router_http improvements to router_uwsgi
2013-04-11 17:59:49 +02:00
Unbit
fc359f1956
better to set status to 202 for offloaded requests
2013-04-11 17:39:20 +02:00
Unbit
79235c1cc3
another memory report fix for Unbit
2013-03-23 04:41:58 +01:00
Unbit
29135f014b
Unbit fixes
2013-03-23 04:11:33 +01:00
Unbit
e7e9dfee88
fixed DragonFlyBSD support
2013-03-16 15:45:49 +01:00
Unbit
7fcef76bbe
experimental windows/cygwin support
2013-03-13 09:44:32 +01:00
Unbit
4d53d3a16a
added more logvars
2013-02-18 13:05:43 +01:00
Unbit
d397036e29
improved the alarm subsystem
2013-02-15 12:17:29 +01:00
Unbit
79dccaac9c
first big (really bug) master refactoring
2013-02-12 18:42:36 +01:00
Unbit
d4130dbc4b
first round of protocol parsers optimizations
...
preliminary api for language-independent body read
another step
completed body read language independent implementation
ported gevent to the new read/write api
ported websockets to the new read/write api
removed channels subsystem
removed channels subsystem
ported lua to the new read/write api
fixed post-buffering
readline is still broken
improved request body readline
very difficult test for readline()/read() combo passed
other improvements in postbuffering/read/readline
ported --http-socket to the new api
added X-Forwarded-SSL management
removed old api
more refactoring
ported the RACK plugin to the new api
ported psgi plugin to the new api
defintely removed clustering
simpified ifdel hell
simpified ifdef hell
removed useless configuration options
2013-02-03 10:38:13 +01:00
Unbit
534f78acb3
improved sendfile management
2013-01-30 12:51:13 +01:00
Unbit
443c2c5a29
better route/sendfile/offload logging
2013-01-30 12:24:38 +01:00