Mark Andrews
1ac74a984d
Windows doesn't like LLU use ULL instead
...
(cherry picked from commit 6b5d6472cdbdb57ee7d8247d85f07c42fb347663)
2016-07-14 11:13:56 +10:00
Mukund Sivaraman
2d5581de6e
Make fixes for GCC 6 ( #42721 )
...
(cherry picked from commit 4116177ac4 )
2016-07-13 13:56:22 +05:30
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Tinderbox User
12b386e1a6
update copyright notice
2014-10-30 23:45:21 +00:00
Mark Andrews
00fb0253c9
3991. [func] Add the ability to buffer logging output by specifying
...
"buffered yes;" when defining a channel. [RT #26561 ]
2014-10-30 11:37:05 +11:00
Tinderbox User
fb05b13c6f
update copyright notice
2013-06-06 23:46:20 +00:00
Mark Andrews
8144dc702b
3587. [func] 'named -g' now checks the logging configuration but
...
does not use it. [RT #33473 ]
2013-06-06 11:08:16 +10:00
Tinderbox User
49503f1d9f
update copyright notice
2013-01-05 23:45:47 +00:00
Mark Andrews
25b95d31ce
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
2013-01-06 07:56:10 +11:00
Automatic Updater
0e27506ce3
update copyright notice
2011-03-05 23:52:31 +00:00
Mark Andrews
7d09a0190b
add #include <isc/file.h>
2011-03-05 03:03:57 +00:00
Scott Mann
32babe43eb
Ensure that log files are plain files. (RT #22771 )
2011-03-04 14:07:03 +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