2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

13 Commits

Author SHA1 Message Date
David Lawrence
5542df0959 When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.

When setting defaults, use ISC_LOGCATEGORY_DEFAULT for the category parameter
instead of NULL.

Don't do the isc_log{category,module}byname lookup every time through the
loop in logconf.c:category_fromconf(); it can be done just once, before
entering the loop.
2000-03-04 16:41:48 +00:00
Andreas Gustafsson
11d435aa4c implemented logging defaults suggested by Tale 2000-03-01 20:40:14 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Andreas Gustafsson
f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
James Brister
44fee66802 Implement deamon-ising (`-f' to run in foreground).
log to syslog if deamon.
implement `-t' option and chroot
2000-01-26 17:35:16 +00:00
David Lawrence
0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
Mark Andrews
608f870f48 add notify support 1999-12-14 07:47:35 +00:00
Andreas Gustafsson
8327c62a49 added logging modules and categories for update, xfer-in, xfer-out 1999-10-23 00:44:40 +00:00
Bob Halley
8582a1e113 cleanups 1999-10-23 00:32:48 +00:00
Bob Halley
1687985cdf add log.c 1999-10-22 19:33:40 +00:00