Commits
- Commit:
2ef7f631db592b0baf910eb2d05d9fa45f85c671
- From:
- Omar Polo <op@omarpolo.com>
- Date:
wait for logger after fatal()
With -f, when the main process exits after a fatal() (usually) the
shell prompt is printed before the logger message.
This adds a small poll to wait for the logger process to exit.
- Commit:
d89a9060f812301850ae4c3f975d475e31fba0a7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fatal: send log to logger
- Commit:
42447f673f2bacb8b9038b17a7b6ba43a67b5cf7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
send priority to the logger process
- Commit:
e6ca8eb1561ade7484a0249ffd1234cdf94e2562
- From:
- Omar Polo <op@omarpolo.com>
- Date:
lower log priority for fatal errors from CRIT to ERR
found by Anna, thanks!
- Commit:
b33425827e3b96fa5f0ee2b7892fb5782c9b7879
- From:
- Omar Polo <op@omarpolo.com>
- Date:
print the datetime when logging to stderr
- Commit:
62e001b06778c96d0deebceddf1913f7b57ab2d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move all sandbox-related code to sandbox.c
while there, add capsicum for the logger process
- Commit:
bc99d868bc3745dcc65add06cd3f9b9ec3575cb5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactoring: imsg everywhere
use imsg to handle ALL kinds of IPC in gmid. This simplifies and shorten the
code, and makes everything more uniform too.
- Commit:
de62c38d81239d09db425974b3197c32d0fad51b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix out-of-bounds access
obviously msg[datalen] is an off-by-one
- Commit:
376a540764c3778330b4f744031bcdb5c6e73647
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move log_init & vars to gmid.c, retain logger_main in log.c
this is to let the regression suite compile
- Commit:
4604dc9671fc46832928fb9f6ab83aaee55931d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move vhost_should_log call to server.c
log.o is linked to some regress/ stuff. Calling from there a vhost_*
function means that we should link the regress/stuff to server.o too
(and that would pull in other stuff...). Moving the call is easier,
and also probably better.
- Commit:
793835cb26c39202133c754fb33f8909ebf8fb92
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `log on/off' to enable/disable logs per-location
- Commit:
fd9a4869253110c96e94b4705d4c3604f4d28ce7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't directly include sys/queue.h
- Commit:
6b191ed52a6f3e10816f50d23ec3e52a7d8f2837
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tests and compat for imsg
- Commit:
d278a0c3c50146c703b675ca4dac1d58ef286585
- From:
- Omar Polo <op@omarpolo.com>
- Date:
moving logging to its own process
- Commit:
52418c8d828bc25e0e84cc25d5e349a84be0b397
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix various compilation errors
Include gmid.h as first header in every file, as it then includes
config.h (that defines _GNU_SOURCE for instance).
Fix also a warning about unsigned vs signed const char pointers in
openssl.