mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNSSEC: Do not log into files
We want to log DNSSEC daemons only into console (journald) https://fedorahosted.org/freeipa/ticket/4657 Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
b5e941d49b
commit
1216da8b9f
@@ -130,7 +130,7 @@ def ldap2replica_zone_keys_sync(log, ldapkeydb, localhsm):
|
|||||||
|
|
||||||
|
|
||||||
# IPA framework initialization
|
# IPA framework initialization
|
||||||
ipalib.api.bootstrap()
|
ipalib.api.bootstrap(in_server=True, log=None) # no logging to file
|
||||||
ipalib.api.finalize()
|
ipalib.api.finalize()
|
||||||
standard_logging_setup(verbose=True, debug = True) # debug=ipalib.api.env.debug)
|
standard_logging_setup(verbose=True, debug = True) # debug=ipalib.api.env.debug)
|
||||||
log = root_logger
|
log = root_logger
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ signal.signal(signal.SIGTERM, commenceShutdown)
|
|||||||
signal.signal(signal.SIGINT, commenceShutdown)
|
signal.signal(signal.SIGINT, commenceShutdown)
|
||||||
|
|
||||||
# IPA framework initialization
|
# IPA framework initialization
|
||||||
api.bootstrap()
|
api.bootstrap(in_server=True, log=None) # no logging to file
|
||||||
api.finalize()
|
api.finalize()
|
||||||
standard_logging_setup(verbose=True, debug=api.env.debug)
|
standard_logging_setup(verbose=True, debug=api.env.debug)
|
||||||
log = root_logger
|
log = root_logger
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ if len(sys.argv) != 1:
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# IPA framework initialization
|
# IPA framework initialization
|
||||||
ipalib.api.bootstrap()
|
ipalib.api.bootstrap(in_server=True, log=None) # no logging to file
|
||||||
ipalib.api.finalize()
|
ipalib.api.finalize()
|
||||||
|
|
||||||
# Kerberos initialization
|
# Kerberos initialization
|
||||||
|
|||||||
Reference in New Issue
Block a user