set default log-level to WARNING
This commit is contained in:
parent
9044f663cf
commit
6e06d6d06a
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class Application(Gtk.Application):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Gtk.Application.__init__(self, application_id=Application.ID, flags=Gio.ApplicationFlags.FLAGS_NONE)
|
Gtk.Application.__init__(self, application_id=Application.ID, flags=Gio.ApplicationFlags.FLAGS_NONE)
|
||||||
self._window = None
|
self._window = None
|
||||||
self._verbosity = 0
|
self._verbosity = self._verbosity = logging.WARNING
|
||||||
self.add_main_option_entries([
|
self.add_main_option_entries([
|
||||||
Application._get_option("v", "verbose", "Be verbose: show info messages"),
|
Application._get_option("v", "verbose", "Be verbose: show info messages"),
|
||||||
Application._get_option("d", "debug", "Enable debugging: show debug messages")
|
Application._get_option("d", "debug", "Enable debugging: show debug messages")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue