-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DS VMware: modify a few log level (#4284)
Multiple ip addresses are common scenario for modern Linux, so set debug log level for such cases.
- Loading branch information
1 parent
1f1ca55
commit 4a6a9d3
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Cloud-Init DataSource for VMware | ||
# | ||
# Copyright (c) 2018-2022 VMware, Inc. All Rights Reserved. | ||
# Copyright (c) 2018-2023 VMware, Inc. All Rights Reserved. | ||
# | ||
# Authors: Anish Swaminathan <[email protected]> | ||
# Andrew Kutz <[email protected]> | ||
|
@@ -719,7 +719,7 @@ def get_default_ip_addrs(): | |
af_inet4 = addr4_fams.get(netifaces.AF_INET) | ||
if af_inet4: | ||
if len(af_inet4) > 1: | ||
LOG.warning( | ||
LOG.debug( | ||
"device %s has more than one ipv4 address: %s", | ||
dev4, | ||
af_inet4, | ||
|
@@ -737,7 +737,7 @@ def get_default_ip_addrs(): | |
af_inet6 = addr6_fams.get(netifaces.AF_INET6) | ||
if af_inet6: | ||
if len(af_inet6) > 1: | ||
LOG.warning( | ||
LOG.debug( | ||
"device %s has more than one ipv6 address: %s", | ||
dev6, | ||
af_inet6, | ||
|
@@ -752,7 +752,7 @@ def get_default_ip_addrs(): | |
af_inet6 = addr4_fams.get(netifaces.AF_INET6) | ||
if af_inet6: | ||
if len(af_inet6) > 1: | ||
LOG.warning( | ||
LOG.debug( | ||
"device %s has more than one ipv6 address: %s", | ||
dev4, | ||
af_inet6, | ||
|
@@ -767,7 +767,7 @@ def get_default_ip_addrs(): | |
af_inet4 = addr6_fams.get(netifaces.AF_INET) | ||
if af_inet4: | ||
if len(af_inet4) > 1: | ||
LOG.warning( | ||
LOG.debug( | ||
"device %s has more than one ipv4 address: %s", | ||
dev6, | ||
af_inet4, | ||
|