Verified Commit 85e13f93 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

nsfarm/board: do not use target name in logging

We do not run tests on multiple boards at the same time and it is
technically undesirable in terms of how current tests are setup. That
makes inclusion of target name just a duplicate value as target is
stated in meta-data for tests and thus directly visible at the start
test report.
parent c8b9f442
......@@ -20,7 +20,7 @@ class Board(abc.ABC):
self.config = target_config
# Open serial console to board
self._serial = serial.Serial(self.config.serial, 115200)
self._fdlogging = cli.FDLogging(self._serial, logging.getLogger(f"{__package__}[{target_config.name}]"))
self._fdlogging = cli.FDLogging(self._serial, logging.getLogger(__package__))
self._pexpect = fdpexpect.fdspawn(self._fdlogging.socket)
# Set board to some known state
self.reset(True) # Hold in reset state
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment