Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
60e6020c8f2c9efc5f67208efaeafd09c719a29b
/
src
/
log.c
487b38e
BUG/MINOR: log: make sure writev() is not interrupted on a file output
by Willy Tarreau
· Fri Jul 26 15:10:39 2019 +0200
f52039f
BUG/MINOR: log: Detect missing sampling ranges in config
by Tim Duesterhus
· Sun Jun 23 22:10:10 2019 +0200
1bfd602
MINOR: logs: use the new bitmap functions instead of fd_sets for encoding maps
by Willy Tarreau
· Fri Jun 07 11:10:07 2019 +0200
082b628
BUG/MEDIUM: init/threads: provide per-thread alloc/free function callbacks
by Willy Tarreau
· Wed May 22 14:42:12 2019 +0200
90a10ae
BUG/MINOR: log: Wrong log format initialization.
by Frédéric Lécaille
· Tue May 14 10:57:58 2019 +0200
c125cef
CLEANUP: ssl: make inclusion of openssl headers safe
by Willy Tarreau
· Fri May 10 09:58:43 2019 +0200
55e2f5a
BUG/MINOR: logs/threads: properly split the log area upon startup
by Willy Tarreau
· Sun May 05 10:11:39 2019 +0200
61302da
BUG/MINOR: log: properly free memory on logformat parse error and deinit()
by Dragan Dosen
· Tue Apr 30 00:40:02 2019 +0200
d803e47
MINOR: log: Enable the log sampling and load-balancing feature.
by Frédéric Lécaille
· Thu Apr 25 07:42:09 2019 +0200
d95ea28
MINOR: log: Add "sample" new keyword to "log" lines.
by Frédéric Lécaille
· Wed Apr 24 16:14:33 2019 +0200
0bad840
MINOR: log: Extract some code to send syslog messages.
by Frédéric Lécaille
· Wed Apr 10 08:22:17 2019 +0200
543d450
MINOR: skip get_gmtime where tm is unused
by Robin H. Johnson
· Wed Apr 10 21:08:15 2019 +0000
594c456
BUG/MINOR: log: properly format IPv6 address when LOG_OPT_HEXA modifier is used.
by Radek Zajic
· Fri Mar 22 10:21:54 2019 +0000
d2ee3e7
MEDIUM: logs: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:53:21 2019 +0100
7c49711
BUG/MEDIUM: logs: Only attempt to free startup_logs once.
by Olivier Houchard
· Thu Mar 07 14:19:24 2019 +0100
b1d7b70
BUG/MEDIUM: log: don't mark log FDs as non-blocking on terminals
by Willy Tarreau
· Wed Jan 02 20:09:33 2019 +0100
a648399
BUG/MINOR: logs: leave startup-logs global and not per-thread
by Willy Tarreau
· Sat Dec 15 16:55:36 2018 +0100
204e3f1
BUG/MINOR: log: fix logging to both FD and IP
by Willy Tarreau
· Sat Dec 15 15:48:48 2018 +0100
f90db44
BUG/MEDIUM: log: Don't call sample_fetch_as_type if we don't have a stream.
by Olivier Houchard
· Sat Dec 15 14:00:06 2018 +0100
3092565
CLEANUP: h1: remove some occurrences of unneeded h1.h inclusions
by Willy Tarreau
· Tue Dec 11 11:11:37 2018 +0100
b6b3df3
MEDIUM: initcall: use initcalls for a few initialization functions
by Willy Tarreau
· Mon Nov 26 16:31:20 2018 +0100
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· Mon Nov 26 11:21:50 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
9c56a22
MINOR: log: introduce ha_notice()
by William Lallemand
· Wed Nov 21 18:04:52 2018 +0100
85b4059
CLEANUP: Fix typos in the log subsystem
by Joseph Herlant
· Thu Nov 15 12:10:04 2018 -0800
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· Thu Nov 15 11:08:52 2018 +0100
a8b2671
BUG/MEDIUM: log: don't CLOEXEC the inherited FDs
by William Lallemand
· Tue Nov 13 18:30:12 2018 +0100
c1b0645
MEDIUM: log: add a new "raw" format
by Willy Tarreau
· Mon Nov 12 11:57:56 2018 +0100
e8746a0
MEDIUM: log: support a new "short" format
by Willy Tarreau
· Mon Nov 12 08:45:00 2018 +0100
5a32ecc
MEDIUM: log: add support for logging to existing file descriptors
by Willy Tarreau
· Mon Nov 12 07:34:59 2018 +0100
13ef773
MINOR: log: report the number of dropped logs in the stats
by Willy Tarreau
· Mon Nov 12 07:25:28 2018 +0100
251fe34
MINOR: log: slightly improve error message syntax on log failure
by Willy Tarreau
· Mon Nov 12 07:00:11 2018 +0100
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· Tue Nov 06 18:46:37 2018 +0100
9fa267d
MINOR: log: make sess_log() support sess=NULL
by Willy Tarreau
· Fri Oct 05 10:22:27 2018 +0200
1aaf324
BUILD: log: silent build warnings due to unchecked __objt_{server,applet}
by Willy Tarreau
· Thu Sep 20 11:13:58 2018 +0200
e10cd48
REORG: http: move the log encoding tables to log.c
by Willy Tarreau
· Mon Sep 10 18:16:53 2018 +0200
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· Mon Sep 10 15:38:55 2018 +0200
5383935
MINOR: log: provide a function to emit a log for a session
by Willy Tarreau
· Wed Sep 05 19:51:10 2018 +0200
09bb27c
MEDIUM: log: make sess_build_logline() support being called with no stream
by Willy Tarreau
· Wed Sep 05 16:55:15 2018 +0200
5cacab6
MINOR: log: use zero as the request counter if there is no stream
by Willy Tarreau
· Wed Sep 05 15:52:59 2018 +0200
b8bc525
MINOR: log: keep a copy of s->flags early to avoid a dereference
by Willy Tarreau
· Wed Sep 05 15:51:28 2018 +0200
02fdf4f
MINOR: log: use NULL for the unique_id if there is no stream
by Willy Tarreau
· Wed Sep 05 15:49:01 2018 +0200
abd71a5
MINOR: log: don't check the stream-int's conn_retries if the stream is NULL
by Willy Tarreau
· Tue Sep 04 19:21:44 2018 +0200
e1809df
MINOR: log: be sure not to dereference a null stream for a target
by Willy Tarreau
· Wed Sep 05 15:30:16 2018 +0200
d4f9166
MINOR: log: do not dereference a null stream to access captures
by Willy Tarreau
· Wed Sep 05 15:28:07 2018 +0200
2393c5b
MINOR: log: keep a copy of the backend connection early in sess_build_logline()
by Willy Tarreau
· Wed Sep 05 15:24:56 2018 +0200
26ffa85
CLEANUP: log: make the low_level lf_{ip,port,text,text_len} functions take consts
by Willy Tarreau
· Wed Sep 05 15:23:10 2018 +0200
372ac5a
MINOR: log: don't unconditionally pick log info from s->logs
by Willy Tarreau
· Wed Sep 05 15:16:23 2018 +0200
56a91dd
MINOR: log: make sess_build_logline() not dereference a NULL stream for txn
by Willy Tarreau
· Wed Sep 05 15:10:35 2018 +0200
a21c0e6
MINOR: log: make the backend fall back to the frontend when there's no stream
by Willy Tarreau
· Wed Sep 05 15:07:15 2018 +0200
43c538e
MINOR: log: move the log code to sess_build_logline() to add extra arguments
by Willy Tarreau
· Wed Sep 05 14:58:15 2018 +0200
ffe5e8c
MINOR: stream: rename {srv,prx}_queue_size to *_queue_pos
by Patrick Hemmer
· Fri May 11 12:52:31 2018 -0400
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
28ac099
MINOR: log: Keep the ref when a log server is copied to avoid duplicate entries
by Christopher Faulet
· Mon Mar 26 16:09:19 2018 +0200
4b0b79d
MINOR: log: move 'log' keyword parsing in dedicated function
by Christopher Faulet
· Mon Mar 26 15:54:32 2018 +0200
c98aebc
MINOR: log: stop emitting alerts when it's not possible to write on the socket
by Willy Tarreau
· Tue Mar 20 11:17:29 2018 +0100
7896917
BUG/MEDIUM: mworker: Set FD_CLOEXEC flag on log fd
by Christopher Faulet
· Tue Dec 19 10:35:53 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
cd7879a
BUG/MEDIUM: threads: Run the poll loop on the main thread too
by Christopher Faulet
· Fri Oct 27 13:53:47 2017 +0200
ff8abcd
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars
by Christopher Faulet
· Fri Jun 02 15:33:24 2017 +0200
f8188c6
MEDIUM: threads/logs: Make logs thread-safe
by Christopher Faulet
· Fri Jun 02 16:20:16 2017 +0200
c1b730a
MINOR: cli: Add "show startup-logs" command
by Christopher Faulet
· Tue Oct 24 12:00:51 2017 +0200
d469638
MINOR: log: Save alerts and warnings emitted during HAProxy startup
by Christopher Faulet
· Tue Oct 24 11:44:05 2017 +0200
01da571
MINOR: merge ssl_sock_get calls for log and ppv2
by Emmanuel Hocdet
· Fri Oct 13 16:59:49 2017 +0200
93e8b88
BUG/MINOR: log: fixing small memory leak in error code path.
by David Carlier
· Thu Sep 21 14:36:43 2017 +0000
0132d06
MINOR: logs: Use dedicated function to init/deinit log buffers
by Christopher Faulet
· Wed Jul 26 15:33:35 2017 +0200
d02286d
BUG/MINOR: log: pin the front connection when front ip/ports are logged
by Willy Tarreau
· Fri Jun 23 11:23:43 2017 +0200
a2278c8
CLEANUP: logs: typo: simgle => single
by Jim Freeman
· Sat Apr 15 08:01:59 2017 -0600
a261e9b
CLEANUP: connection: remove all direct references to raw_sock and ssl_sock
by Willy Tarreau
· Thu Dec 22 20:44:00 2016 +0100
71a8c7c
MINOR: listener: move the transport layer pointer to the bind_conf
by Willy Tarreau
· Wed Dec 21 22:04:54 2016 +0100
8a4e442
MEDIUM: log-format: Use standard HAProxy log system to report errors
by Thierry FOURNIER / OZON.IO
· Wed Nov 23 00:41:28 2016 +0100
4ed1c95
MINOR: http/conf: store the use_backend configuration file and line for logs
by Thierry FOURNIER / OZON.IO
· Thu Nov 24 23:57:54 2016 +0100
a2c38d7
MEDIUM: log-format: strict parsing and enable fail
by Thierry FOURNIER / OZON.IO
· Tue Nov 22 23:11:21 2016 +0100
6fe0e1b
CLEANUP: log-format: remove unused arguments
by Thierry FOURNIER / OZON.IO
· Tue Nov 22 22:33:24 2016 +0100
bca46f0
CLEANUP: log-format: fix return code of function parse_logformat_var_args()
by Thierry FOURNIER / OZON.IO
· Tue Nov 22 23:13:04 2016 +0100
eca4d95
CLEANUP: log-format: fix return code of the function parse_logformat_var()
by Thierry FOURNIER / OZON.IO
· Tue Nov 22 22:06:04 2016 +0100
9cbfef2
BUG/MINOR: log-format: uncatched memory allocation functions
by Thierry FOURNIER / OZON.IO
· Tue Nov 22 23:24:10 2016 +0100
f7e4e7e
MAJOR: spoe: Add an experimental Stream Processing Offload Engine
by Christopher Faulet
· Thu Oct 27 22:29:49 2016 +0200
4cac359
MEDIUM: log: Decompose %Tq in %Th %Ti %TR
by Thierry FOURNIER / OZON.IO
· Thu Jul 28 17:19:45 2016 +0200
077edcb
BUILD: log: iovec requires to include sys/uio.h on OpenBSD
by Willy Tarreau
· Wed Aug 10 18:30:56 2016 +0200
db1b6f9
BUG/MEDIUM: log: use function "escape_string" instead of "escape_chunk"
by Dragan Dosen
· Mon Jul 25 11:35:02 2016 +0200
27b639d
MINOR: log: add the %Td log-format specifier
by Willy Tarreau
· Tue May 17 17:55:27 2016 +0200
54e439f
BUG/MINOR: log: fix a typo that would cause %HP to log <BADREQ>
by Nenad Merdanovic
· Tue Apr 26 01:39:02 2016 +0200
57bc891
BUG/MEDIUM: log: fix risk of segfault when logging HTTP fields in TCP mode
by Willy Tarreau
· Mon Apr 25 17:09:40 2016 +0200
02779b6
CLEANUP: uniformize last argument of malloc/calloc
by Vincent Bernat
· Sun Apr 03 13:48:43 2016 +0200
e2e5bde
BUG/MINOR: log: Don't use strftime() which can clobber timezone if chrooted
by Benoit GARNIER
· Sun Mar 27 03:04:16 2016 +0200
b413c2a
BUG/MINOR: log: GMT offset not updated when entering/leaving DST
by Benoit GARNIER
· Sun Mar 27 11:08:03 2016 +0200
835b921
MEDIUM: log: add a new log format flag "E"
by Dragan Dosen
· Fri Feb 12 13:23:03 2016 +0100
17def46
BUG/MEDIUM: logs: fix time zone offset format in RFC5424
by Dragan Dosen
· Fri Oct 09 21:31:43 2015 +0200
43885c7
BUG/MEDIUM: logs: segfault writing to log from Lua
by Dragan Dosen
· Thu Oct 01 13:18:13 2015 +0200
5b78d9b
MEDIUM: logs: pass the trailing "\n" as an iovec
by Dragan Dosen
· Mon Sep 28 16:01:03 2015 +0200
c8cfa7b
MEDIUM: logs: have global.log_send_hostname not contain the trailing space
by Dragan Dosen
· Mon Sep 28 13:28:21 2015 +0200
0b85ece
MEDIUM: logs: add a new RFC5424 log-format for the structured-data
by Dragan Dosen
· Fri Sep 25 19:17:44 2015 +0200
1322d09
MEDIUM: logs: add support for RFC5424 header format per logger
by Dragan Dosen
· Tue Sep 22 16:05:32 2015 +0200
68d2e3a
MEDIUM: logs: remove the hostname, tag and pid part from the logheader
by Dragan Dosen
· Sat Sep 19 22:35:44 2015 +0200
59cee97
MEDIUM: log: use a separate buffer for the header and for the message
by Dragan Dosen
· Sat Sep 19 22:09:02 2015 +0200
609ac2a
MEDIUM: log: replace sendto() with sendmsg() in __send_log()
by Dragan Dosen
· Wed Sep 16 18:25:42 2015 +0200
Next »