summaryrefslogtreecommitdiffstats
path: root/contrib/bind/lib/isc/logging.mdoc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/lib/isc/logging.mdoc')
-rw-r--r--contrib/bind/lib/isc/logging.mdoc12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/bind/lib/isc/logging.mdoc b/contrib/bind/lib/isc/logging.mdoc
index 6b48943..47d4312 100644
--- a/contrib/bind/lib/isc/logging.mdoc
+++ b/contrib/bind/lib/isc/logging.mdoc
@@ -1,4 +1,4 @@
-.\" $Id: logging.mdoc,v 8.3 1999/01/08 19:25:41 vixie Exp $
+.\" $Id: logging.mdoc,v 8.4 2000/04/23 02:19:02 vixie Exp $
.\"
.\"Copyright (c) 1995-1999 by Internet Software Consortium
.\"
@@ -36,6 +36,7 @@
.Nm log_category_is_active ,
.Nm log_new_syslog_channel ,
.Nm log_new_file_channel ,
+.Nm log_set_file_owner ,
.Nm log_new_null_channel ,
.Nm log_inc_references ,
.Nm log_dec_references ,
@@ -80,6 +81,8 @@
.Fn log_new_file_channel "unsigned int flags" "int level" \
"char *name" "FILE *stream" "unsigned int versions" \
"unsigned long max_size"
+.Ft int
+.Fn log_set_file_owner "log_channel chan" "uid_t owner" "gid_t group"
.Ft log_channel
.Fn log_new_null_channel "void"
.Ft int
@@ -187,7 +190,12 @@ filename. The
and
.Fn log_get_filename
functions return the stream or filename, respectively, of such a logging
-channel.
+channel. Also unique to logging channels of type
+.Dv log_file
+is the
+.Fn log_set_file_owner
+function, which tells the logging system what user and group ought to own
+newly created files (which is only effective if the caller is privileged.)
.Pp
Callers provide
.Dq Nm categories ,
OpenPOWER on IntegriCloud