tools/qubesd: increase loglevel with --debug option

This commit is contained in:
Marek Marczykowski-Górecki 2017-07-20 03:08:14 +02:00
parent 6dbce8259f
commit 74375146e8
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -11,6 +11,7 @@ import qubes.api
import qubes.api.admin
import qubes.api.internal
import qubes.api.misc
import qubes.log
import qubes.utils
import qubes.vm.qubesvm
@ -36,6 +37,9 @@ def main(args=None):
args.app.vmm.register_event_handlers(args.app)
if args.debug:
qubes.log.enable_debug()
servers = loop.run_until_complete(qubes.api.create_servers(
qubes.api.admin.QubesAdminAPI,
qubes.api.internal.QubesInternalAPI,