Changeset 8608 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 2 Jun 2012, 17:57:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/logger.py
r8492 r8608 182 182 dict(sitename='%s' % sitename)) 183 183 logger = logging.getLogger(loggername) 184 flt = ContextFilter()185 logger.addFilter(flt)186 184 if site is None or sitename is None: 187 185 # Site not added to ZODB yet. Log to commandline … … 225 223 logger.addHandler(handler) 226 224 logger.setLevel(LEVEL) 225 226 flt = ContextFilter() 227 logger.addFilter(flt) 227 228 return logger 228 229
Note: See TracChangeset for help on using the changeset viewer.