mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-19 08:37:54 +01:00
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:
parent
61dbc2db2b
commit
c6206658e4
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue