logging level conventions
William Kennington
wak at google.com
Tue Jan 15 10:09:35 AEDT 2019
Agree, hopefully it is being done this way already.
On Mon, Jan 14, 2019 at 8:20 AM Vernon Mauery
<vernon.mauery at linux.intel.com> wrote:
>
> When making a change in netipmid, the conversation came up about user
> errors versus system errors. There are times that both should be logged,
> but obviously system errors are more severe. So in that project, I made
> system errors (like failure to communicate on dbus, etc.,) as log<ERR>()
> and user errors (like bad credentials) as log<INFO>().
>
> Does anyone else think that the project as a whole should make this
> distinction between system errors and user errors? Maybe add something
> to the coding style?
>
> --Vernon
More information about the openbmc
mailing list