/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-monitor

  • Committer: Teddy Hogeborn
  • Date: 2024-11-22 20:28:54 UTC
  • Revision ID: teddy@recompile.se-20241122202854-dycuf117byxhxl32
mandos-monitor: Avoid debug messages from urwid

Avoid debug messages from urwid.  Any logging output before the screen
has been set up will mangle the screen.

* mandos-monitor: When setting up logging, set urwid to only show log
  messages of level INFO or above.

(Thanks to an anonymous contributor for reporting this.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
locale.setlocale(locale.LC_ALL, "")
65
65
 
66
66
logging.getLogger("dbus.proxies").setLevel(logging.CRITICAL)
 
67
logging.getLogger("urwid").setLevel(logging.INFO)
67
68
 
68
69
# Some useful constants
69
70
domain = "se.recompile"
70
71
server_interface = domain + ".Mandos"
71
72
client_interface = domain + ".Mandos.Client"
72
 
version = "1.8.15"
 
73
version = "1.8.17"
73
74
 
74
75
try:
75
76
    dbus.OBJECT_MANAGER_IFACE