logger: fix default log severity info -> notice, like other loggers

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2022-08-01 12:48:31 +02:00
parent a2ff3a93f6
commit 7bd017be0a
2 changed files with 4 additions and 3 deletions

View File

@ -159,9 +159,10 @@ If an unknown service name is used,
.Nm
prints a warning and falls back to port 514.
.It Fl p Ar PRIO
Priority, numeric or
Priority, numeric or in
.Ar facility.severity
pair.
pair format, default:
.Nm user.notice .
.It Fl r Ar SIZE:NUM
Controls log file rotation.
.Ar SIZE

View File

@ -269,7 +269,7 @@ int main(int argc, char *argv[])
char *svcname = "syslog";
off_t size = 200 * 1024;
int facility = LOG_USER;
int severity = LOG_INFO;
int severity = LOG_NOTICE;
int family = AF_UNSPEC;
struct sockaddr sa;
int allow_kmsg = 0;