summaryrefslogtreecommitdiff
path: root/src/flake8
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-06-28 13:21:22 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-06-28 13:21:22 -0500
commit84af24f240fe8482bb94b80542f9102f8840a90f (patch)
treec1642e98f1a11c023df54832c33319693b9abfd8 /src/flake8
parentc9fb680dffa37517bbda76cc2b572d6f192508bd (diff)
downloadflake8-84af24f240fe8482bb94b80542f9102f8840a90f.tar.gz
Fix some logging and logging levels
Diffstat (limited to 'src/flake8')
-rw-r--r--src/flake8/checker.py8
-rw-r--r--src/flake8/main/application.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/flake8/checker.py b/src/flake8/checker.py
index 06c4676..f7bd540 100644
--- a/src/flake8/checker.py
+++ b/src/flake8/checker.py
@@ -218,7 +218,7 @@ class Manager(object):
def _run_checks_from_queue(self):
LOG.info('Running checks in parallel')
for checker in iter(self.process_queue.get, 'DONE'):
- LOG.debug('Running checker for file "%s"', checker.filename)
+ LOG.info('Checking "%s"', checker.filename)
checker.run_checks(self.results_queue, self.statistics_queue)
self.results_queue.put('DONE')
@@ -239,13 +239,13 @@ class Manager(object):
return False
basename = os.path.basename(path)
if utils.fnmatch(basename, exclude):
- LOG.info('"%s" has been excluded', basename)
+ LOG.debug('"%s" has been excluded', basename)
return True
absolute_path = os.path.abspath(path)
match = utils.fnmatch(absolute_path, exclude)
- LOG.info('"%s" has %sbeen excluded', absolute_path,
- '' if match else 'not ')
+ LOG.debug('"%s" has %sbeen excluded', absolute_path,
+ '' if match else 'not ')
return match
def make_checkers(self, paths=None):
diff --git a/src/flake8/main/application.py b/src/flake8/main/application.py
index ef31713..b1e0772 100644
--- a/src/flake8/main/application.py
+++ b/src/flake8/main/application.py
@@ -256,7 +256,7 @@ class Application(object):
LOG.info('Reporting errors')
results = self.file_checker_manager.report()
self.total_result_count, self.result_count = results
- LOG.info('Found a total of %d results and reported %d',
+ LOG.info('Found a total of %d violations and reported %d',
self.total_result_count, self.result_count)
def initialize(self, argv):