Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ic



Tim Rightnour writes:

> On 19-Apr-2008 Joerg Sonnenberger wrote:
> > If they are not important enough to be noticable, why are you using
> > aprint_error in first place? Or printf for that matter. If you really
> > don't want to see them, you can use the boot flags to silence them, they
> > are still going into dmesg.
>
> Perhaps what he wants is the console to be nice and clean and have
> syslog write them out, and his little monitoring script to pick them
> up from the logs.  We should let the user decide, not decide for
> him.
> 
> My problem with aprint_error in normal operation is that I can't
> shut it up.  I don't consider a boot time flag a reasonable solution
> to that when we have a perfectly good facility for it already.

Maybe unify aprintf() and log()?  Do we really need two
separate-yet-really-similar interfaces having subtly different
behaviour and roles that not all developers agree on?


Home | Main Index | Thread Index | Old Index