"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotd/gotwebd: unify log.c
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 20 May 2024 16:14:33 +0200

Download raw body.

Thread
On 2024/05/20 16:03:34 +0200, Omar Polo <op@omarpolo.com> wrote:
> gotd and gotwebd are using one duplicate each of log.c, so move it in
> lib/ and use it in both projects.
> 
> This is just a mechanical diff

forgot to mention one fairly important thing: gotd prepends the procname
to the logs, while gotwebd doesn't.  In my diff I'm using gotd' log.c so
this will change gotwebd logs a bit: either gotwebd or sockets is always
prepended now.