containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

logging: Set source field for oci and hyperstart packages #572

Closed jodh-intel closed 6 years ago

jodh-intel commented 6 years ago

Change the SetLogger() API calls in the oci and hyperstart packages so that they set the source logger field. This allows callers making use of these packages to see the true source of the log messages (previously, it would appear that log calls made by these two packages would be coming from the caller itself).

Fixes #571.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

sboeuf commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove

sameo commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove