Logging Help

Alain Fontaine (Post master, UCL) fontaine at sri.ucl.ac.be
Wed Apr 25 07:42:46 UTC 2001


À (At) 3:10 +0200 25/04/01, Mark.Andrews at nominum.com écrivait (wrote) :
>> 
>> I am having a logging problem, and I'm sure that it is somethingI am doing.  
>> Here is the snippet from my named.conf:
>> 
>> logging {
>>         channel my_file {
>>                 file "named.log";
>>                 severity dynamic;
>
>	Did you turn on debugging?  A dynamic channel will only be written
>	to if debugging is enabled.
>
>	Mark

Now that you say it... I have :

logging {
	channel "my_syslog" {
		file "adm/log" versions 3;
		severity info;
		print-time yes; print-category yes; print-severity yes;
	};
	channel "my_debug" {
		file "adm/debug";
		severity dynamic;
		print-time yes; print-category yes; print-severity yes;
	};
	category default { "my_syslog"; "my_debug"; };

On three different servers, the result is that the file 'debug' gets
a copy of all the logging data at all times (I mean also with debugging
turned off, as it normally is).

BIND 9.1.1, Solaris 2.7.

                                                    /AF




More information about the bind-users mailing list