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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotd/gotwebd: unify log.c
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 21 May 2024 11:01:37 +0200

Download raw body.

Thread
On Mon, May 20, 2024 at 04:14:33PM +0200, Omar Polo wrote:
> 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

Fine with me, ok.
 
> 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.

That's an improvement for gotwebd.