Changeset 6747 for main


Ignore:
Timestamp:
13 Sep 2011, 10:32:13 (13 years ago)
Author:
uli
Message:

Show remaining loggers only when suspicious.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/testing.py

    r6735 r6747  
    2626    """
    2727    result = logging.root.manager.loggerDict.keys()
    28     print "\nLOGGERS: ", [x for x in result if 'waeup.sirp' in x]
     28    ws_loggers = [x for x in result if 'waeup.sirp' in x]
     29    if ws_loggers:
     30        # For debugging: show any remaining loggers from w.s. namespace
     31        print "\nLOGGERS: ", ws_loggers
    2932    return result
    3033
Note: See TracChangeset for help on using the changeset viewer.