From 56401c1abe7d4c78650acfcd9bbe8c8edc1dac57 Mon Sep 17 00:00:00 2001 From: John Dennis Date: Tue, 15 Nov 2011 14:39:31 -0500 Subject: ticket 2022 - modify codebase to utilize IPALogManager, obsoletes logging change default_logger_level to debug in configure_standard_logging add new ipa_log_manager module, move log_mgr there, also export root_logger from log_mgr. change all log_manager imports to ipa_log_manager and change log_manager.root_logger to root_logger. add missing import for parse_log_level() --- ipalib/constants.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'ipalib/constants.py') diff --git a/ipalib/constants.py b/ipalib/constants.py index 7ec897b5..ba5f470b 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -59,23 +59,6 @@ CLI_TAB = ' ' # Two spaces # The section to read in the config files, i.e. [global] CONFIG_SECTION = 'global' -# Log format for stderr: -FORMAT_STDERR = ': '.join([ - 'ipa', - '%(levelname)s', - '%(message)s', -]) - -# Log format for log file: -FORMAT_FILE = '\t'.join([ - '%(created)f', - '%(process)d', - '%(threadName)s', - '%(levelname)s', - '%(message)s', -]) - - # The default configuration for api.env # This is a tuple instead of a dict so that it is immutable. # To create a dict with this config, just "d = dict(DEFAULT_CONFIG)". -- cgit