diff --git a/man/logger.1 b/man/logger.1 index ff39ddc..f9c22e5 100644 --- a/man/logger.1 +++ b/man/logger.1 @@ -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 diff --git a/src/logger.c b/src/logger.c index 67921d1..6bfb171 100644 --- a/src/logger.c +++ b/src/logger.c @@ -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;