mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Add timstamp to logs
This commit is contained in:
parent
174bbf0bdc
commit
d8b73dd241
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ def main():
|
||||||
quiet = any(s in sys.argv for s in ['-q', '--quiet'])
|
quiet = any(s in sys.argv for s in ['-q', '--quiet'])
|
||||||
|
|
||||||
# Helpful to differentiate warnings from errors even when on 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
|
loglevel = logging.INFO
|
||||||
if verbose:
|
if verbose:
|
||||||
loglevel = logging.DEBUG
|
loglevel = logging.DEBUG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue