Commit Graph
52 Commits
Author SHA1 Message Date
Tinderbox User 806c07338d update copyright notice 2013-06-06 23:45:13 +00:00
Mark Andrews 4570929cfd 3587. [func] 'named -g' now checks the logging configuration but
does not use it. [RT #33473]
(cherry picked from commit 8144dc702b)
2013-06-06 11:10:09 +10:00
Tinderbox User 0782358696 update copyright notice 2013-01-05 23:45:11 +00:00
Mark Andrews d6ad0ec371 3450. [bug] Stop logfileconfig system test spam system logs.
[RT #32315]

Squashed commit of the following:

commit ad40744e2c7dc253b70857bb229def5dd194b418
Author: Mark Andrews <marka@isc.org>
Date:   Fri Jan 4 17:24:45 2013 +1100

    logfileconfig spams the system log files

Conflicts:
	bin/named/main.c

Conflicts:
	bin/tests/system/logfileconfig/tests.sh

Conflicts:
	bin/named/main.c
	bin/tests/system/logfileconfig/tests.sh
2013-01-06 08:03:51 +11:00
Tinderbox User a3bf29d6c8 update copyright notice 2012-03-10 23:45:08 +00:00
Evan Hunt 66fb5237d3 set $Id$ 2012-03-07 08:19:59 -08:00
Automatic Updater 9e5debd879 update copyright notice 2011-03-12 04:57:33 +00:00
Mark Andrews e9cc9a1dce 3058. [bug] Cause named to terminate at startup or rndc reconfig/
reload to fail, if a log file specified in the conf
                        file isn't a plain file. [RT #22771]
2011-03-12 04:48:03 +00:00
Automatic Updater 4e6f2f87e3 update copyright notice 2011-03-05 23:51:02 +00:00
Mark Andrews a6c37be820 add #include <isc/file.h> 2011-03-05 03:07:40 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 641f68d427 update copyright notice 2006-03-02 00:37:23 +00:00
Mark Andrews 45e1bd6358 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 02:39:52 +00:00
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