Improvements for logfile viewer

Fix for tornado-server with deactivated accesslog doesn't log to normal log anymore
Merge from master for unique user ids, get_metadata,
fix Goodreads integration
Update Translation (merge NL, update DE)
This commit is contained in:
Ozzieisaacs
2019-06-22 19:55:59 +02:00
parent cc8a431532
commit 32af660f86
37 changed files with 6130 additions and 5624 deletions
+8
View File
@@ -82,6 +82,14 @@ def _absolute_log_file(log_file, default_log_file):
return default_log_file
def get_logfile(log_file):
return _absolute_log_file(log_file, DEFAULT_LOG_FILE)
def get_accesslogfile(log_file):
return _absolute_log_file(log_file, DEFAULT_ACCESS_LOG)
def setup(log_file, log_level=None):
'''
Configure the logging output.