~ubuntu-branches/ubuntu/saucy/autopilot/saucy-proposed

« back to all changes in this revision

Viewing changes to bin/autopilot

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, chris.gagnon, Ubuntu daily release
  • Date: 2013-08-03 00:02:02 UTC
  • mfrom: (52.5.12)
  • Revision ID: package-import@ubuntu.com-20130803000202-ncvp9y062q0xbqnm
Tags: 1.3.1+13.10.20130803-0ubuntu1
[ chris.gagnon ]
* add autopilot version to log when using autopilot run. (LP:
  #1201202)

[ Ubuntu daily release ]
* Automatic snapshot from revision 303

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
def setup_logging(verbose):
125
125
    """Configure the root logger and verbose logging to stderr"""
126
126
    from autopilot.utilities import LogFormatter
 
127
    from autopilot import get_version_string
127
128
    root_logger = logging.getLogger()
128
129
    root_logger.setLevel(logging.DEBUG)
129
130
    if verbose == 0:
136
137
    if verbose >= 2:
137
138
        from autopilot.utilities import DebugLogFilter
138
139
        DebugLogFilter.debug_log_enabled = True
 
140
    #log autopilot version
 
141
    root_logger.info(get_version_string())
139
142
 
140
143
 
141
144
def construct_test_runner(args):