Changeset 9769 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 5 Dec 2012, 08:32:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/logger.py
r8608 r9769 157 157 #: replaced by the actual used site name. 158 158 logger_name = 'waeup.kofa.${sitename}' 159 160 #: The format to use when logging. 161 logger_format_str = '%(asctime)s - %(levelname)s - %(user)s - %(message)s' 162 159 163 implements(ILogger) 160 164 … … 214 218 filename, when='MON', backupCount=BACKUP_COUNT) 215 219 handler.setLevel(LEVEL) 216 formatter = logging.Formatter( 217 '%(asctime)s - %(levelname)s - %(user)s - %(message)s') 220 formatter = logging.Formatter(self.logger_format_str) 218 221 handler.setFormatter(formatter) 219 222
Note: See TracChangeset for help on using the changeset viewer.