2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Mark Andrews
4e1d3e67cd 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:36:11 +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
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
7052e191ce 1544. [bug] Named would logged a single entry to a file despite it
being over the specified size limit.

1543.   [bug]           Logging using "versions unlimited" did not work.
2004-03-03 05:39:05 +00:00
Andreas Gustafsson
024face21c 1042. [bug] The "config" logging category did not work properly.
[RT #1873]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
6859033d42 1018. [bug] The default log channel was not always initialized
correctly. [RT #1813]
2001-09-27 20:54:27 +00:00
Andreas Gustafsson
8d146b6e11 1015. [bug] Log channels that had a "versions" option but no
"size" option failed to create numbered log
                        files. [RT #1783]
2001-09-25 00:55:22 +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
David Lawrence
5bc6f56bc1 Test that log files can be opened when they are configured, since
isc_log_open() can't effectively report failures when called in
isc_log_doit().
2001-04-26 02:38:08 +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
Mark Andrews
483958540f 581. [bug] log severity was not being correctly processed.
[RT #485]
2000-11-29 13:30:43 +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
a38e5f0695 278. [bug] bin/named/logconf.c:category_fromconf() didn't take
note of when isc_log_categorybyname() wasn't able
                        to find the category name and would then apply the
                        channel list of the unknown category to all categories.
2000-06-23 17:59:08 +00:00
David Lawrence
aa900978da allow stderr channels to be configured 2000-06-22 22:30:12 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
David Lawrence
80150fb04a oh good lord. the casting problem is really truly fixed this time. mea culpa. 2000-05-11 15:36:20 +00:00
David Lawrence
24fe57b6da sorry, screwed up the cast in the last revision. cast a pointer to an int,
when i wanted to cast the int to unsigned then make a pointer.
2000-05-11 15:25:05 +00:00
David Lawrence
2ffe094fab fixed argument type mismatch in dns_c_logchan_getversions call 2000-05-10 18:38:21 +00:00
David Lawrence
0cdff5948e file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative 2000-05-10 01:50:58 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +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
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
David Lawrence
642c20f6a1 style lint 2000-04-25 23:44:37 +00:00
Bob Halley
acee756e38 lint 2000-03-23 22:51:53 +00:00
Andreas Gustafsson
02fd64a1fc put single quote around logging channel name in error message 2000-03-23 00:51:29 +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
bdc155d8ce look up logging category name using isc_log_categorybyname() 2000-03-04 01:08:05 +00:00
James Brister
b0000a5e0f Temporary change to let things compile. 2000-03-02 03:51:36 +00:00
Andreas Gustafsson
0e7a542683 improved error reporting 2000-03-01 20:40:33 +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
Michael Graff
d456800909 formatting nit; no functional change 2000-02-29 20:09:37 +00:00
Bob Halley
21c39a1a83 initialize type in channel_fromconf() 2000-02-28 19:18:13 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00