From owner-freebsd-hardware@FreeBSD.ORG Sun Jun 13 17:30:34 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5E5106566B for ; Sun, 13 Jun 2010 17:30:34 +0000 (UTC) (envelope-from gfreedman1776@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2536F8FC1D for ; Sun, 13 Jun 2010 17:30:33 +0000 (UTC) Received: by iwn7 with SMTP id 7so3981780iwn.13 for ; Sun, 13 Jun 2010 10:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=em1v1Ox6qLuqCGiS88yJdWswNLSfqGDmf47uLdbIcOg=; b=tW4Et5JTU/04v5UeBUVyrjQvkKCcafYejPjLa/pI0jKoWEXa/hE/lHNsd26jZYJYxC dZUWI5Fp+rQ3rSdMgbi8zVj4zqL48dtGb0bK+FHAxZo9AF5NI1aJ0U/UvNcnYSBI94oR B0w+4VeUh9Rfq73nPMn4VjhPMDCfT+HcsY8eM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Da6W6m055v2kesM3P6qE0MuqDm3JPNviUidhilpUzcll+CkxaIXt+/rNjuYQMyKuXL w6HvHSjvB4HZCONpo/8wvEhI2f7EeSws9XyYE/kuEnkHQfrN8DuNpsZsJFi3R0H2mi1l PGLGgzY3hnlLig6W+hpcTVzLYeLmYKtMs3CaE= MIME-Version: 1.0 Received: by 10.231.124.14 with SMTP id s14mr5064305ibr.167.1276448538696; Sun, 13 Jun 2010 10:02:18 -0700 (PDT) Received: by 10.231.14.197 with HTTP; Sun, 13 Jun 2010 10:02:18 -0700 (PDT) Date: Sun, 13 Jun 2010 13:02:18 -0400 Message-ID: From: Gordon Freeman To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: suppressing a specific kind of kernel log entry (device disconnect / connect notifications)? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 17:30:34 -0000 Good afternoon, I'm extremely happy with my FreeBSD server! One question for the group: I'm using a USB KVM, and each time I switch between boxes, I get kernel messages like: Jun 13 12:48:27 host.local kernel: ums0: on uhub1 Jun 13 12:48:27 host.local kernel: ums0: 8 buttons and Z dir. Jun 13 12:49:09 host.local kernel: ums0: at uhub1 port 4 (addr 6) disconnected Jun 13 12:49:09 host.local kernel: ums0: detached This is fine, except I sometimes do this 100 times a day, and these messages are also emailed to me in the security logs and in the jail's security output! I noticed there's a way in /etc/syslog.conf to change where all the kernel logs go; am wondering whether you know of a way to suppress just this kind of log. I looked at devd.conf, and it looks like you can match with regexp and send custom notifications, but I couldn't figure out how to turn off just that kind of entry. Any ideas much appreciated. Gordon