Re: Excessive logging in thunderbolt driver

From: Mika Westerberg
Date: Wed Nov 01 2017 - 03:42:23 EST


On Tue, Oct 31, 2017 at 10:45:46PM +0100, Stephen Hemminger wrote:
> The thunderbolt driver needs to stop logging.
> All these debug messages and the laptop is on battery with no devices connected.
> (I did use a USB key, but that is not a thunderbolt device).
>
> IMHO a production driver should log nothing in normal operation.
> If you insist, the one message when device is found on discovery/probe
> is allowed at INFO level.
>
> All the rest should just go away, or be turned into pr_debug().

I agree and it is on my todo list for this driver.