[Freeipa-devel] [PATCH 0278] Fix API logging

2015-07-08 Thread Martin Basti
log must be initilized before first usage in API, otherwise traceback is shown: # ipa -e random-nonexistent-key=1 user-find Traceback (most recent call last): File /bin/ipa, line 32, in module cli.run(api) File /usr/lib/python2.7/site-packages/ipalib/cli.py, line 1346, in run

Re: [Freeipa-devel] [PATCH 0278] Fix API logging

2015-07-08 Thread Tomas Babej
On 07/08/2015 02:18 PM, Martin Basti wrote: log must be initilized before first usage in API, otherwise traceback is shown: # ipa -e random-nonexistent-key=1 user-find Traceback (most recent call last): File /bin/ipa, line 32, in module cli.run(api) File