- Aug 10, 2021
-
-
Logging is not set up at this point; it wouldn't be shown unless preceded by -v/--verbose.
-
- Aug 09, 2021
-
-
Tomas Krizek authored
various tiny changes See merge request !1200
-
Vladimír Čunát authored
Code wouldn't be leaked. We'd just send the branch name to GH servers. Still, it' better to skip the step.
-
Vladimír Čunát authored
This is all that's missing in comparison to enum knot_rr_type. For now I didn't remove types that aren't present there (anymore), even though noone would miss them, most likely.
-
Vladimír Čunát authored
Also improve a few details.
-
Vladimír Čunát authored
../modules/dnstap/dnstap.c: In function 'dnstap_config': ../modules/dnstap/dnstap.c:410:29: warning: 'strndup' specified bound 4096 exceeds source size 17 [-Wstringop-overread] 410 | sock_path = strndup(DEFAULT_SOCK_PATH, PATH_MAX); | ^ ../modules/dnstap/dnstap.c:423:37: warning: 'strndup' specified bound 4096 exceeds source size 17 [-Wstringop-overread] 423 | sock_path = strndup(DEFAULT_SOCK_PATH, PATH_MAX); | ^ We don't need to restrict our built-in path defaults to PATH_MAX characters, as they just can't be that long and it's not an issue if we shoot over it anyway - opening such a file would only fail.
-
- Aug 05, 2021
-
-
Tomas Krizek authored
daemon/lua/meson.build: disable kres_gen_test on cross See merge request !1198
-
Vladimír Čunát authored
I considered switching it to our usual 3-option combo, but that way didn't really seem useful.
-
Vladimír Čunát authored
I didn't intend to use this mix of tabs and spaces for indentation.
-
- Jul 30, 2021
-
-
Tomas Krizek authored
fix build without doh2 support See merge request !1197
-
Vladimír Čunát authored
-
- Jul 29, 2021
-
-
Tomas Krizek authored
release 5.4.0 See merge request !1196
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
daemon/http: ensure HTTP headers are freed See merge request !1191
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
Ignored queries never call create_request() where ownership of headers is taken care of. They need to be explicitly cleared instead, because we're the owners of the pointer here.
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
Fine grained logging See merge request !1181
-
Tomas Krizek authored
-
Vladimír Čunát authored
- we've been using lua's formatting so far, so avoid changing that - some lua values would be harder to format with the C style
-
Our randomness utils have nothing to do with TLS, so let's use SYSTEM.
-
* improve order - follow grouping of topics more closely (targets, groups, levels) - order kr_log_LEVEL by severity * move unneeded <stdarg.h> * improve doc-comments - some claims there were even wrong now - describe some log levels at kr_log_LEVEL
-
Let's be consistent witk kr_log_name2level() and even generally we tend to use negative numbers for errors.
-
It's a non-standard feature of syslog.h and I don't think it's worth the trouble. We didn't really utilize it; someone would have to #define it, and moreover we would get into problems if this wasn't being done the same on all places including log.h. Making the names adapt to the platform would also mean that config files and docs wouldn't be portable. Also make kr_log_level2name() return const.
-
- we don't need doubling the layer in this case, as the SD_JOURNAL_METADATA macro adds a layer already - `TO_STR` was perhaps a too short name and could collide
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
Use a single call as a setter and getter for log groups.
-
Tomas Krizek authored
Refactor into more consistent lua API.
-
Tomas Krizek authored
Using a single function to get/set values is more consistent with our existing lua API rather than having two separate set and get functions.
-
It's mainly in tests.
-
- add lua set_log_target() + docs - default to 'stderr' (manual runs) - switch to 'syslog' in distro-preconfig.lua - a few minor tweaks
-
-