Skip to content

Conversation

robhoes
Copy link
Member

@robhoes robhoes commented Jun 20, 2016

We don't use the stats for these devices, so lets not spend time on them.

Furthermore, due to the fact that the Sysfs.read_one_line and therefore the
Sysfs.get_pci_ids function now log errors, and the loopback and bond devices
do not have PCI info in sysfs, this was causing lots of log spam.

Signed-off-by: Rob Hoes rob.hoes@citrix.com

We don't use the stats for these devices, so lets not spend time on them.

Furthermore, due to the fact that the Sysfs.read_one_line and therefore the
Sysfs.get_pci_ids function now log errors, and the loopback and bond devices
do not have PCI info in sysfs, this was causing lots of log spam.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
@robhoes robhoes changed the title Do collect stats for loopback and bond devices Don't collect stats for loopback and bond devices Jun 20, 2016
@johnelse
Copy link
Collaborator

:shipit: :shipit:

@johnelse johnelse merged commit 7da9ac2 into xapi-project:master Jun 21, 2016
@robhoes robhoes deleted the logspam branch June 21, 2016 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants