Commits
- Commit:
248fb833f9883b714c48cd3edac2b212cbcd565f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix `log access path' with chroot
We should open the log file inside the chroot; missed in
4acf495f41d2c26136e99072293ca8b9bff91dc0.
See https://github.com/omar-polo/gmid/issues/24
- Commit:
83a2644bfb1d8683faf024275a98600b0edc5063
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert remaining code to the imsg getters
Now gmid doesn't touch anymore the internals of the imsg structs.
- Commit:
0d5282b6475a30a3f39559c67a1504cc7c6930ea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
configure: add --sysconfdir / $SYSCONFDIR handling
so that we don't have to hardcode /etc in gmid.c. Helps on systems
like FreeBSD where the non-base programs are expected to look for
their config in /usr/local/etc.
- Commit:
e371817b3437abf8e34475ff2544cb666769ccae
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix configtest with chroot
The configtest checks try to open the root directories too, operation
that can fail when they're expected to be inside a chroot.
- Commit:
43b38b2dbbefbb68d9eff1d0fb76238308700f1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
copyright++
- Commit:
6be41efe33421ba5d24cdb5837a3c0d1cb70a471
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak log_request() comment
gg -> gemexp and better wording.
- Commit:
ddbcd3c13f2159113bb7e9921a1bec13755c5d43
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the subject' common name as the user field in log
- Commit:
35579431eb3d6fbdef6bfa6723afcb72cdfd73ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove debugging leftover
- Commit:
3b431c09d97f86f40f0f57a5d6d2e08681b1c65d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
try hard at loading the configuration during conftest (-n)
Attempt to do also a few more steps that were previously done only
at runtime. This can help verifying that the keypairs are matching
for example, but also that there are no typos in the path to the
root directories.
Was requested some time ago by Marian Mizik, thanks for the feature
request!
- Commit:
9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `log syslog facility' to use a different syslog(3) facility
Was requested ages ago by Karl Jeacle, now that there is some better
support for configuring the logging there's no excuse to add this.
It helps with filtering from syslog.d / syslog.conf.
- Commit:
26df50981fe18b5f244293b203c1a1eb30759554
- From:
- Omar Polo <op@omarpolo.com>
- Date:
actually use the specified log style
- Commit:
b5963536c85df0d8aa80df7ce8fd223b5d9d29e6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change the 'condensed' style to include the size of the request too
will be used in the future to log how much byte a titan request
uploaded.
- Commit:
46bcc4ea95b03fe81ad361ee02bd021a7618e5a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add log syslog off; don't turn syslog off when log access is specified
- Commit:
cba01a868748013f838c28ad8005c8377160c76f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename IMSG_LOG_TYPE to ACCESS
- Commit:
abd261d25bdfa01c44d07a9803db669bc62ddf76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow to change the logging style; introduce some new ones
add `log style <style>'; The old default is called `legacy' now, a
new default format is added called `condensed', and `common' and
`combined' to mimick Apache httpd and nginx (respectively) are also
added.