logger: fix default log severity info -> notice, like other loggers
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
a2ff3a93f6
commit
7bd017be0a
@ -159,9 +159,10 @@ If an unknown service name is used,
|
|||||||
.Nm
|
.Nm
|
||||||
prints a warning and falls back to port 514.
|
prints a warning and falls back to port 514.
|
||||||
.It Fl p Ar PRIO
|
.It Fl p Ar PRIO
|
||||||
Priority, numeric or
|
Priority, numeric or in
|
||||||
.Ar facility.severity
|
.Ar facility.severity
|
||||||
pair.
|
pair format, default:
|
||||||
|
.Nm user.notice .
|
||||||
.It Fl r Ar SIZE:NUM
|
.It Fl r Ar SIZE:NUM
|
||||||
Controls log file rotation.
|
Controls log file rotation.
|
||||||
.Ar SIZE
|
.Ar SIZE
|
||||||
|
@ -269,7 +269,7 @@ int main(int argc, char *argv[])
|
|||||||
char *svcname = "syslog";
|
char *svcname = "syslog";
|
||||||
off_t size = 200 * 1024;
|
off_t size = 200 * 1024;
|
||||||
int facility = LOG_USER;
|
int facility = LOG_USER;
|
||||||
int severity = LOG_INFO;
|
int severity = LOG_NOTICE;
|
||||||
int family = AF_UNSPEC;
|
int family = AF_UNSPEC;
|
||||||
struct sockaddr sa;
|
struct sockaddr sa;
|
||||||
int allow_kmsg = 0;
|
int allow_kmsg = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user