=== modified file 'mandos-ctl' --- mandos-ctl 2019-02-28 19:22:08 +0000 +++ mandos-ctl 2019-02-28 19:24:48 +0000 @@ -45,10 +45,17 @@ import dbus +# Show warnings by default +if not sys.warnoptions: + import warnings + warnings.simplefilter("default") + log = logging.getLogger(sys.argv[0]) logging.basicConfig(level="INFO", # Show info level messages format="%(message)s") # Show basic log messages +logging.captureWarnings(True) # Show warnings via the logging system + if sys.version_info.major == 2: str = unicode