diff options
author | John Dennis <jdennis@redhat.com> | 2011-11-15 14:39:31 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-11-23 09:36:18 +0100 |
commit | 56401c1abe7d4c78650acfcd9bbe8c8edc1dac57 (patch) | |
tree | a759f9fb51d4e2e110c55dbecc45f436386ee30f /ipalib/constants.py | |
parent | 730f1228a91ec9c6e575181807da2ab994a38071 (diff) | |
download | freeipa-56401c1abe7d4c78650acfcd9bbe8c8edc1dac57.tar.gz freeipa-56401c1abe7d4c78650acfcd9bbe8c8edc1dac57.tar.xz freeipa-56401c1abe7d4c78650acfcd9bbe8c8edc1dac57.zip |
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()
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index 7ec897b58..ba5f470b0 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)". |