Suppress log entry...

Reindl Harald h.reindl at thelounge.net
Mon Apr 13 17:18:06 UTC 2015



Am 13.04.2015 um 19:14 schrieb SH Development:
> For me, it’s in the interest of keeping clean easy to read log files.  Seems like this info should be available to turn on and off when needed for debugging, not every time the config is changed.

this line appears only when named is started

in other words: if you everytime you change the config hard restart 
named instead a reload you are doing it terrible wrong with a ton of bad 
side effects

>> On Apr 13, 2015, at 9:10 AM, Alan Clegg <alan at clegg.com> wrote:
>>
>> On 4/13/15 2:08 AM, SH Development wrote:
>>> Is there a way to suppress the build information in the log every time BIND restarts/reloads?  I’m getting:
>>>
>>> built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fex
ce
>> ptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE’
>>
>> It's a single line that is generated and actually gives a significantly
>> important amount of information.
>>
>> I'm curious as to why you feel it should be suppressed... I was teaching
>> the class in which the addition of this line was brought up and find it
>> extremely useful

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20150413/131a5dce/attachment.bin>


More information about the bind-users mailing list