about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--vlogger.86
-rw-r--r--vlogger.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/vlogger.8 b/vlogger.8
index de26acb..3a6b204 100644
--- a/vlogger.8
+++ b/vlogger.8
@@ -56,7 +56,11 @@ is linked to
 it uses
 .Dq foo
 as
-.Ar tag .
+.Ar tag
+and
+.Dq daemon.notice
+as
+.Ar pri .
 .Pp
 The options are as follows:
 .Bl -tag -width "-f file"
diff --git a/vlogger.c b/vlogger.c
index 64f1a2e..102bbdb 100644
--- a/vlogger.c
+++ b/vlogger.c
@@ -95,6 +95,8 @@ main(int argc, char *argv[])
 			if ((p = strrchr(pwd, '/')) && strncmp(p+1, "log", 3) == 0 &&
 			    (*p = '\0', (p = strrchr(pwd, '/'))) && (*(p+1) != '\0')) {
 				tag = p+1;
+				facility = LOG_DAEMON;
+				level = LOG_NOTICE;
 			}
 		}
 	}