You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
Ensure all errors are logged using the `logrus.WithError()` API.
The current `logrus.Error(err)` calls will result in log messages
containing the following fields:
```
level=error msg="..."
```
Whereas using `logrus.WithError()` will result in the expected:
```
level=error error="..."
```
Fixeskata-containers#26.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Ensure all errors are logged using the `logrus.WithError()` API.
The current `logrus.Error(err)` calls will result in log messages
containing the following fields:
```
level=error msg="..."
```
Whereas using `logrus.WithError()` will result in the expected:
```
level=error error="..."
```
Fixeskata-containers#26.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
jodh-intel
added a commit
to jodh-intel/ksm-throttler
that referenced
this issue
Mar 22, 2018
Ensure all errors are logged using the `logrus.WithError()` API.
The current `logrus.Error(err)` calls will result in log messages
containing the following fields:
```
level=error msg="..."
```
Whereas using `logrus.WithError()` will result in the expected:
```
level=error error="..."
```
Fixeskata-containers#26.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
There are a few instances of logging errors using
logrus
which will result in alevel=error
field, but noerror=
field.The text was updated successfully, but these errors were encountered: