On Fri, 13 Oct 2023 15:50:28 +1100 David Gibson <david(a)gibson.dropbear.id.au> wrote:In log.c we use a macro to define logging functions for each of 4 priority levels. The only difference between these is the priority we pass to vsyslog() and similar functions. Because it's done as a macro, however, the entire functions code is included in the binary 4 times.If you've been wondering about the reason for this madness, by the way: this comes from (much) earlier versions where we had separate debug builds to avoid the cost of formatting debug messages (and in some cases fetch further information) in the regular build. It didn't actually make a measurable difference, though, and it doesn't anyway make sense any longer. -- Stefano