<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Console messages are controlled by the kernel.printk knob. Try<br>
<font color="#993300"><tt>sysctl -w "kernel.printk=3 4 1 7"</tt><tt><br>
</tt></font><br>
I have this in /etc/sysctl.d/99-mystuff.conf which is run after a
reboot:<br>
<font color="#993300"><tt>#define KERN_EMERG "<0>" /*
system is unusable */</tt><tt><br>
</tt><tt>#define KERN_ALERT "<1>" /* action must be
taken immediately */</tt><tt><br>
</tt><tt>#define KERN_CRIT "<2>" /* critical
conditions */</tt><tt><br>
</tt><tt>#define KERN_ERR "<3>" /* error
conditions */</tt><tt><br>
</tt><tt>#define KERN_WARNING "<4>" /* warning
conditions */</tt><tt><br>
</tt><tt>#define KERN_NOTICE "<5>" /* normal but
significant condition */</tt><tt><br>
</tt><tt>#define KERN_INFO "<6>" /*
informational */</tt><tt><br>
</tt><tt>#define KERN_DEBUG "<7>" /* debug-level
messages */</tt><tt><br>
</tt><tt>#- console_loglevel: messages with a higher priority
than</tt><tt><br>
</tt><tt># this will be printed to the console</tt><tt><br>
</tt><tt>#- default_message_level: messages without an explicit
priority</tt><tt><br>
</tt><tt># will be printed with this priority</tt><tt><br>
</tt><tt>#- minimum_console_loglevel: minimum (highest) value to
which</tt><tt><br>
</tt><tt># console_loglevel can be set</tt><tt><br>
</tt><tt>#- default_console_loglevel: default value for
console_loglevel</tt><tt><br>
</tt><tt><br>
</tt><tt># console was too verbose</tt><tt><br>
</tt><tt>kernel.printk = 3 4 1 7</tt><tt><br>
</tt></font><br>
Bill<br>
</p>
<div class="moz-cite-prefix">On 3/22/2019 4:27 PM, Richard
Westerveld wrote:<br>
</div>
<blockquote type="cite"
cite="mid:eadda314-2126-638c-e968-8c3cc475793b@oracle.com">All,
<br>
<br>
Not real familiar (yet) with the ISC DHCP server. In the past
we used the regular old Solaris non-ISC version. Hopefully we'll
get more familiar with this one as time goes on.
<br>
<br>
Have it up and running - and working, from the viewpoint of what
we use it for. We don't use it for actually assigning leases like
a traditional use (all our clients have static IP addresses); we
use it for booting already identified clients (ie ones that have
entries in /etc/inet/dhcpd4.conf).
<br>
<br>
The problem is we get lots of those DHCPDISCOVER/no free leases
messages continually scrolling on the console for units that
haven't been identified as ones we want to net boot (there's an
application that adds their entries to the conf file when someone
wants to boot them).
<br>
<br>
I'd like some way to either turn that particular message off; or
else direct them to some other location.
<br>
<br>
I tried setting "unknown-clients" to ignore; but that apparently
doesn't turn off the messages. (Note: I *think* these requests
are coming from "unknown" clients; since I haven't found their mac
addresses in the conf file.)
<br>
<br>
I also tried setting the dhcp server to use syslog; but that
doesn't seem to keep them from appearing on the console either.
<br>
<br>
I'm sure *someone* at some point has tried to get rid of these
same messages; so can anyone point me to the proper place to find
out how to do it? An example might help, too.
<br>
<br>
Thanks.
<br>
<br>
-Richard
<br>
<br>
_______________________________________________
<br>
dhcp-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
<br>
</blockquote>
</body>
</html>