Skip to content

Commit

Permalink
Adjust logger output and fix whitespace.
Browse files Browse the repository at this point in the history
example: "ERROR armstrong.core.arm_layout--backend error text" is more conclusive than "ERROR basic--backend error text". Since anything could be logging, it's better to know the logger name.
  • Loading branch information
joncotton committed Mar 19, 2014
1 parent 2d9b2c3 commit e94c594
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion armstrong/dev/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'basic': {'format': '%(levelname)s %(module)s--%(message)s'}
'basic': {'format': '%(levelname)s %(name)s--%(message)s'}
},
'handlers': {
'console': {
Expand Down
6 changes: 3 additions & 3 deletions armstrong/dev/tests/runner.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
try:
from django.test.runner import DiscoverRunner
from django.test.runner import DiscoverRunner
except ImportError: # < Django 1.6
from .utils.runner import DiscoverRunner
from .utils.runner import DiscoverRunner


class ArmstrongDiscoverRunner(DiscoverRunner):
def __init__(self, *args, **kwargs):
"""Find our "tests" package, not just "test*.py" files"""
"""Find our "tests" package, not just "test*.py" files"""

super(ArmstrongDiscoverRunner, self).__init__(*args, **kwargs)
self.pattern = "test*"

0 comments on commit e94c594

Please sign in to comment.