Skip to content

Commit

Permalink
verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ialbert committed Mar 31, 2021
1 parent 9e04968 commit 79cc8ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions biostar/accounts/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def create_uuid(sender, instance, *args, **kwargs):
def create_profile(sender, instance, created, raw, using, **kwargs):

if created:

# Set the username a simpler username.
username = f"{instance.pk}"

Expand Down
4 changes: 2 additions & 2 deletions biostar/logconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class RateLimitFilter(object):
Limits the number of error emails when errors get triggered.
"""
# Time out in seconds.
TIMEOUT = 60
TIMEOUT = 300
CACHE_KEY = "error-limiter"

def filter(self, record):
Expand All @@ -37,7 +37,7 @@ def filter(self, record):

'version': 1,

'disable_existing_loggers': True,
'disable_existing_loggers': False,

'formatters': {

Expand Down

0 comments on commit 79cc8ce

Please sign in to comment.