mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Cleaner logs.
This commit is contained in:
parent
428647f70c
commit
aac3fba63d
2 changed files with 3 additions and 3 deletions
|
@ -1551,9 +1551,9 @@ def load_river_stories__redis(request):
|
|||
diff = time.time() - start
|
||||
timediff = round(float(diff), 2)
|
||||
if requested_hashes and story_hashes:
|
||||
logging.user(request, "~FB%sLoading ~FC%s~FB stories: %s" %
|
||||
logging.user(request, "~FB%sLoading ~FC%s~FB stories: %s%s" %
|
||||
("~FBAuto-" if on_dashboard else "",
|
||||
requested_hashes, story_hashes[:3]))
|
||||
requested_hashes, story_hashes[:3], f"...(+{len(story_hashes)-3})" if len(story_hashes) > 3 else ""))
|
||||
else:
|
||||
logging.user(request, "~FY%sLoading ~FC%sriver stories~FY: ~SBp%s~SN (%s/%s "
|
||||
"stories, ~SN%s/%s/%s feeds, %s/%s)" %
|
||||
|
|
|
@ -212,7 +212,7 @@ LOGGING = {
|
|||
},
|
||||
'readability': {
|
||||
'handlers': ['console', 'log_file'],
|
||||
'level': 'INFO',
|
||||
'level': 'WARNING',
|
||||
'propagate': False,
|
||||
},
|
||||
'apps': {
|
||||
|
|
Loading…
Add table
Reference in a new issue