Changeset 9697 in genesis for tools


Ignore:
Timestamp:
Oct 6, 2011, 9:44:06 AM (13 years ago)
Author:
rick
Message:

Show which host is causing the trouble...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r9647 r9697  
    3434    from yaml import Loader, Dumper
    3535
     36import logging
     37logging.basicConfig(format='# %(levelname)s: %(message)s' )
     38logger = logging.getLogger()
     39logger.setLevel(logging.DEBUG)
    3640
    3741
     
    560564  pool = dict()
    561565  for node in get_hostlist():
     566    logger.info("Processing host %s", node)
    562567    datadump = get_yaml(node)
    563568
Note: See TracChangeset for help on using the changeset viewer.