Page MenuHomeVyOS Platform

Set airbag enable to default log=False
Closed, ResolvedPublicBUG

Description

The airbag module logging has been implicated in recent bugs, notably T7117. The recommendation is to set the default log=False, meaning that sys.stderr is not by default redirected by a singleton class. Pending further analysis of the root cause of errors, this should be uncontentious as a temporary measure, since

  • the current default does not add much information, as stderr is not commonly used for script/module output
  • an author can always choose to selectively enable for specific scripts as needed
  • revision of airbag logging should be considered after analysis and in conjunction with updates to the logger module

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)