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

42 Commits

Author SHA1 Message Date
Mark Andrews
c55dd77de4 2042. [bug] named-checkconf was incorrectly rejecting the
logging category "config". [RT #16117]
2006-06-07 02:28:28 +00:00
Mark Andrews
3b4405aba9 1837. [bug] Compile time option ISC_FACILITY was not effective
for 'named -u <user>'.  [RT #13714]
2005-05-20 01:19:43 +00:00
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
84a5b69f00 1756. [func] named-checkconf now checks the logging configuration.
[RT #12352]
2004-11-09 21:24:20 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
cc4928ec71 1219. [func] New category 'update-security'. 2002-06-12 06:29:49 +00:00
Mark Andrews
ee80f45064 1135. [func] You can now override the default syslog() facility for
named/lwresd at compile time. [RT #1982]
2001-11-23 01:15:07 +00:00
Andreas Gustafsson
cc8e8b59d6 1082. [bug] The -g option to named incorrectly caused logging
to be sent to syslog in addition to stderr.
2001-10-31 17:42:04 +00:00
Andreas Gustafsson
1d9ab72131 902. [bug] The -d option was ignored if both -t and -g were also
specified.
2001-06-14 14:14:17 +00:00
Mark Andrews
89d03d4715 Redo:
839.   [func]          Dump packets for which there was no view or that the
                        class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
Brian Wellington
1d92d8a245 792. [cleanup] Replace the OMAPI command channel protocol with a
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b31c8af1d9 name libisccfg logging functions consistently with
other libisccfg functions [RT #1020]
2001-03-13 03:04:09 +00:00
Brian Wellington
90c099e88e 762. [feature] named now uses the new configuration parser. 2001-03-04 21:21:39 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Mark Andrews
3b1a582101 lcfg was not being initalied to NULL. 2000-11-25 01:33:11 +00:00
Andreas Gustafsson
86a4d80e06 565. [func] Log queries more like BIND 8: query logging is now
done to category queries, level info. [RT #169]
2000-11-23 01:32:48 +00:00
Brian Wellington
8bc1e5bb4a Call isc/dns_log_setcontext(NULL) after ns_g_lctx has been destroyed. 2000-09-26 22:12:13 +00:00
Brian Wellington
8f7cae3d7b #include <isc/result.h> 2000-08-25 01:08:20 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
878d3073b1 First pass at merging lwresd into named. Seems to work, but doesn't shut down
properly.  Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Michael Graff
c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
Andreas Gustafsson
7193a1762e suppress logging until UID switch to avoid creating log
files as root
2000-05-02 18:45:08 +00:00
Andreas Gustafsson
a0f6cda5fd the 'default_debug' log channel was not set up when
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Andreas Gustafsson
5fe5a0c026 revised logging categories 2000-03-23 00:55:12 +00:00
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