URL:
https://github.com/freeipa/freeipa/pull/937
Author: felipevolpone
Title: #937: Configuring log handlers during the input parameters validation phase
Action: opened
PR body:
"""
Previously, a log handler would be configured only after all the input parameters be
validated, as can be checked in `ipapython/admintool.py::AdminTool::main`. So, any call to
`logger.[warning,info,error,debug]`, during that phase, doesn't work and it also
raises an exception.
Now, log handlers are setup before the input parameters validation phase.
Fixes:
https://pagure.io/freeipa/issue/7071
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/937/head:pr937
git checkout pr937