mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-27 17:01:41 -05:00
Add timstamp to logs
This commit is contained in:
@@ -173,7 +173,7 @@ def main():
|
||||
quiet = any(s in sys.argv for s in ['-q', '--quiet'])
|
||||
|
||||
# Helpful to differentiate warnings from errors even when on quiet
|
||||
logformat = '%(levelname)s: %(message)s'
|
||||
logformat = '%(asctime)s %(levelname)s: %(message)s'
|
||||
loglevel = logging.INFO
|
||||
if verbose:
|
||||
loglevel = logging.DEBUG
|
||||
|
||||
Reference in New Issue
Block a user