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