comparison src/core/constants.py @ 1017:0ea97f483464

core (log): added "custom" backend
author Goffi <goffi@goffi.org>
date Thu, 08 May 2014 19:11:20 +0200
parents 73a0b7f94674
children adbde4a3a52f
comparison
equal deleted inserted replaced
1016:0c361fdc76af 1017:0ea97f483464
75 75
76 ## Logging ## 76 ## Logging ##
77 LOG_BACKEND_STANDARD = 'standard' 77 LOG_BACKEND_STANDARD = 'standard'
78 LOG_BACKEND_TWISTED = 'twisted' 78 LOG_BACKEND_TWISTED = 'twisted'
79 LOG_BACKEND_BASIC = 'basic' 79 LOG_BACKEND_BASIC = 'basic'
80 LOG_BACKEND_CUSTOM = 'custom'
80 LOG_BASE_LOGGER = 'root' 81 LOG_BASE_LOGGER = 'root'
81 LOG_TWISTED_LOGGER = 'twisted' 82 LOG_TWISTED_LOGGER = 'twisted'
82 LOG_OPT_SECTION = 'DEFAULT' # section of sat.conf where log options should be 83 LOG_OPT_SECTION = 'DEFAULT' # section of sat.conf where log options should be
83 LOG_OPT_PREFIX = 'log_' 84 LOG_OPT_PREFIX = 'log_'
84 # (option_name, default_value) tuples 85 # (option_name, default_value) tuples