log: Fix size calculation for number of iovecs
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 31 Jul 2024 09:39:04 +0000 (11:39 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 31 Jul 2024 11:12:55 +0000 (13:12 +0200)
commitfc83ff3f55ee53fd9101d4e45736f3f996ee7ca6
treed57d990a3f0426dbf11c10bb783a935818aa721f
parent7881f485c9f57b1c7de4308eeab54458890c5c19
log: Fix size calculation for number of iovecs

Each log context field can expand to up to three iovecs (key, value
and newline) so let's fix the size calculation to take this into
account.
src/basic/log.c