commit 5a024de10c823cf05793cec1ad2f4084983e1fa6
parent 52fd4d193fb855b4bacc2f68c63f37aa8518c679
Author: Jacob R. Edwards <n/a>
Date: Sun, 20 Feb 2022 22:30:53 -0800
Update log format
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aps/log.c b/aps/log.c
@@ -71,7 +71,7 @@ aps_logfmt(struct aps *aps, int level, int fd, char *fmt, ...)
if (fmt == NULL || (aps && !(level & aps->loglevel)))
return;
- fprintf(stderr, "ap: [%d] [%s] ", fd, levelstr(level));
+ fprintf(stderr, "aps(%d) %s: ", fd, levelstr(level));
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);