On 2016-05-10 09:56, Alan Somers wrote:
> On Tue, May 10, 2016 at 8:28 AM, Larry Rosenman <ler at lerctr.org>
wrote:
>
>> Is there work going on to silence this when the cd drive is empty?
>>
>> May 10 09:26:46 thebighonker devd: Processing event '!system=CAM
subsystem=periph type=error device=cd0 serial=""
cam_status="0xcc" scsi_status=2 scsi_sense="70 02 3a 01"
CDB="00 00 00 00 00 00 " '
>> May 10 09:27:16 thebighonker last message repeated 10 times
>>
>> thebighonker.lerctr.org [1] /home/ler $ uname -aKU
>> FreeBSD thebighonker.lerctr.org [1] 10.3-STABLE FreeBSD 10.3-STABLE #40
r299365: Tue May 10 09:14:53 CDT 2016 root at
thebighonker.lerctr.org:/usr/obj/usr/src/sys/GENERIC amd64 1003501 1003501
>> thebighonker.lerctr.org [1] /home/ler $
>
> Yes. In the long term, scottl is trying to quell messages like that. In
the short term, you can easily silence it with /etc/syslog.conf rules. In fact,
it shouldn't even there with the default syslog.conf. Have you modified
yours? Can you please share the modifications?
>
> -Alan
# $FreeBSD: stable/10/etc/syslog.conf 260519 2014-01-10 17:56:23Z
asomers $
#
# Spaces ARE valid field separators in this file. However,
# other *nix-like systems still insist on using tabs as field
# separators. If you are sharing this file between systems, you
# may want to use only tabs as field separators here.
# Consult the syslog.conf(5) manpage.
*.err;kern.warning;auth.notice;mail.crit /dev/console
*.info;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;cron.none;local0.none;local1.none
/var/log/messages
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
#auth.info;authpriv.info |exec /usr/local/sbin/sshit
mail.info /var/log/maillog
mail.debug /var/log/debug.maillog
local1.* /var/log/cisco.log
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
# Uncomment this if you wish to see messages produced by devd
#!devd
#*.>=notice /var/log/devd.log
*.=debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to
/var/log/console.log
console.info /var/log/console.log
# uncomment this to enable logging of all log messages to
/var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
*.* /var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.* @loghost
# uncomment these if you're running inn
#news.crit /var/log/news/news.crit
#news.err /var/log/news/news.err
#news.notice /var/log/news/news.notice
local0.* /var/log/pg-prod.log
#!startslip
#*.* /var/log/slip.log
#!ppp
#*.* /var/log/ppp.log
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: ler at lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
Links:
------
[1] http://thebighonker.lerctr.org