Skip to content
Success

#27336 (Mar 10, 2026, 2:29:53 PM)

Started 16 hr ago
Took 1.9 sec on build4-deb12build-ansible

Started by upstream project gerrit-pysim build number 2904
originally caused by:

This run spent:

  • 9.1 sec waiting;
  • 1.9 sec build duration;
  • 11 sec total from scheduled to completion.
Revision: dd2fb82cda032b3df23006b17f62053b3e500997
Repository: $GERRIT_REPO_URL
  • master
PySimLogger: add parameter to set initial log-level/verbosity

When we initialize a new PySimLogger, we always call the setup method
first and then use the set_verbose and set_level method to configure
the initial log level and the initial log verbosity. However, we
initialize the PySimLogger in all our programs the same way and we
end up with the same boilerplate code every time. Let's add a keyword
parameter to the setup method where we can pass our opts.verbose (bool)
parameter so that the setup method can do the work for the main program.

In case the caller wants a different default configuration he still can
call set_verbose and set_level methods as needed.

Change-Id: I4b8ef1e203186878910c9614a1d900d5759236a8
pmaier@sysmocom.de at