chiark / gitweb /
Fix a few build-time logging levels
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 27 Feb 2014 08:55:06 +0000 (08:55 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 27 Feb 2014 08:55:06 +0000 (08:55 +0000)
fdroidserver/build.py

index 40b2c28ea17dea32eb7b13e13b22801291eea5ca..051baa8a098fd77f4d5d63a16bfc9bdad4ccb2f9 100644 (file)
@@ -438,7 +438,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
         logging.info("Scanning source for common problems...")
         buildprobs = common.scan_source(build_dir, root_dir, thisbuild)
         if len(buildprobs) > 0:
-            logging.info('Scanner found %d problems:' % len(buildprobs))
+            logging.warn('Scanner found %d problems:' % len(buildprobs))
             for problem in buildprobs:
                 logging.info('    %s' % problem)
             if not force:
@@ -913,13 +913,13 @@ def main():
                         build_dir = os.path.join('build', app['id'])
 
                     # Set up vcs interface and make sure we have the latest code...
-                    logging.info("Getting {0} vcs interface for {1}".format(
+                    logging.debug("Getting {0} vcs interface for {1}".format(
                             app['Repo Type'], app['Repo']))
                     vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir)
 
                     first = False
 
-                logging.info("Checking " + thisbuild['version'])
+                logging.debug("Checking " + thisbuild['version'])
                 if trybuild(app, thisbuild, build_dir, output_dir, also_check_dir,
                         srclib_dir, extlib_dir, tmp_dir, repo_dir, vcs, options.test,
                         options.server, options.force, options.onserver):