Page MenuHomeVyOS Platform

vyos.logger: "logger already exists" error shows {name} literally
Open, Requires assessmentPublic

Description

vyos.logger.getLogger() raises ValueError('a logger with the name "{name} already exists') when a logger is recreated with different options. The string lacks the f prefix and the closing quote, so the error reads a logger with the name "{name} already exists instead of naming the logger. Follow-up to T9672, which fixed the same mistake in other files.

Details

Version
rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)