Add timestamp to logs.

No-Presubmit: True
Bug: None
Change-Id: I3adc0ba9f0c92c10d35833aca2698eead40a849d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250160
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Owners-Override: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35873}
This commit is contained in:
Mirko Bonadei 2022-02-01 18:52:49 +01:00 committed by WebRTC LUCI CQ
parent 61dbc2db2b
commit c6206658e4

View file

@ -268,7 +268,9 @@ def _ConfigurePythonPath(args):
def main():
logging.basicConfig(level=logging.INFO)
logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s',
level=logging.INFO,
datefmt='%Y-%m-%d %H:%M:%S')
logging.info('Invoked with %s', str(sys.argv))
args = _ParseArgs()