Date: Mon, 5 Nov 2012 23:20:48 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242634 - head/share/examples/ses/srcs Message-ID: <201211052320.qA5NKmN6014745@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Mon Nov 5 23:20:48 2012 New Revision: 242634 URL: http://svnweb.freebsd.org/changeset/base/242634 Log: Rise priority of the informational messages from LOG_INFO to LOG_NOTICE, same as used for OK status. Otherwise it looks strange when OK status is reported, while informational is not. Modified: head/share/examples/ses/srcs/sesd.c Modified: head/share/examples/ses/srcs/sesd.c ============================================================================== --- head/share/examples/ses/srcs/sesd.c Mon Nov 5 23:05:14 2012 (r242633) +++ head/share/examples/ses/srcs/sesd.c Mon Nov 5 23:20:48 2012 (r242634) @@ -142,9 +142,8 @@ main(int a, char **v) "%s: Enclosure Status OK", v[dev]); } if (stat & SES_ENCSTAT_INFO) { - syslog(LOG_INFO, - "%s: Enclosure Status Has Information", - v[dev]); + syslog(LOG_NOTICE, + "%s: Enclosure Has Information", v[dev]); } if (stat & SES_ENCSTAT_NONCRITICAL) { syslog(LOG_WARNING,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211052320.qA5NKmN6014745>