Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically

2017-09-24 Thread Lukáš Doktor
Dne 22.9.2017 v 11:40 Kevin Wolf napsal(a): > Am 22.09.2017 um 10:37 hat Lukáš Doktor geschrieben: >> But we should focus on fixing all the entry points (either initialize >> from all of them, or force-create the root logger based on the >> entry-point requirements). Kevin, could you please share

Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically

2017-09-22 Thread Eduardo Habkost
On Fri, Sep 22, 2017 at 10:37:44AM +0200, Lukáš Doktor wrote: > Dne 21.9.2017 v 18:22 Eduardo Habkost napsal(a): > > Not all scripts using qemu.py configure the Python logging > > module, and end up generating a "No handlers could be found for > > logger" message instead of actual log messages. >

Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically

2017-09-22 Thread Kevin Wolf
Am 22.09.2017 um 10:37 hat Lukáš Doktor geschrieben: > But we should focus on fixing all the entry points (either initialize > from all of them, or force-create the root logger based on the > entry-point requirements). Kevin, could you please share the exact > reproducer? I used a custom file

Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically

2017-09-22 Thread Lukáš Doktor
Dne 21.9.2017 v 18:22 Eduardo Habkost napsal(a): > Not all scripts using qemu.py configure the Python logging > module, and end up generating a "No handlers could be found for > logger" message instead of actual log messages. > > To avoid requiring every script using qemu.py to configure >

Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically

2017-09-21 Thread Cleber Rosa
On 09/21/2017 12:22 PM, Eduardo Habkost wrote: > Not all scripts using qemu.py configure the Python logging > module, and end up generating a "No handlers could be found for > logger" message instead of actual log messages. > > To avoid requiring every script using qemu.py to configure >