Revert "ipa[client,replica,server]: Make sure that installer logs are created"

The call of standard_logging_setup results in verbose and debug output in
the ansible modules. This needs to be done in an altenative way.

This reverts commit 2113c79111.
This commit is contained in:
Thomas Woerner
2019-04-05 18:11:24 +02:00
parent 387f555560
commit 0b5b5756c7
4 changed files with 6 additions and 13 deletions

View File

@@ -56,7 +56,6 @@ if NUM_VERSION >= 40500:
from ipaclient.install.ipachangeconf import IPAChangeConf
from ipalib.install import certmonger, sysrestore
from ipapython import ipautil
from ipapython.ipa_log_manager import standard_logging_setup
if NUM_VERSION < 40600:
from ipapython.ipa_log_manager import root_logger
from ipapython.ipautil import (
@@ -133,10 +132,7 @@ else:
logger = logging.getLogger("ipa-server-install")
#logger.setLevel(logging.DEBUG)
standard_logging_setup(
paths.IPASERVER_INSTALL_LOG, verbose=True, debug=False,
filemode='a', console_format='%(message)s')
logger.setLevel(logging.DEBUG)
@contextlib_contextmanager