diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-31 20:55:56 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-31 20:55:56 -0400 |
commit | b4dcab1f8e227a8f5fd57a8cbae28258469de085 (patch) | |
tree | c8384d57113f13227fcb9251bef71cf78aefef7c /extension | |
parent | ab1e7a42d653b02b606a37ca926228bb5d0bd249 (diff) | |
parent | 6d25749458f75d5d1cf34213bc39f12c28a45d3b (diff) | |
download | sncontinue-b4dcab1f8e227a8f5fd57a8cbae28258469de085.tar.gz sncontinue-b4dcab1f8e227a8f5fd57a8cbae28258469de085.tar.bz2 sncontinue-b4dcab1f8e227a8f5fd57a8cbae28258469de085.zip |
Merge branch 'main' of https://github.com/continuedev/continue
Diffstat (limited to 'extension')
-rw-r--r-- | extension/logging.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extension/logging.yaml b/extension/logging.yaml new file mode 100644 index 00000000..391041ef --- /dev/null +++ b/extension/logging.yaml @@ -0,0 +1,30 @@ +version: 1 +disable_existing_loggers: False +formatters: + default: + (): 'uvicorn.logging.DefaultFormatter' + fmt: '%(asctime)s %(levelprefix)-9s %(name)s -: %(message)s' + access: + (): 'uvicorn.logging.AccessFormatter' + fmt: '%(asctime)s %(levelprefix)-9s %(name)s -: %(client_addr)s - "%(request_line)s" %(status_code)s' +handlers: + default: + class: logging.StreamHandler + formatter: default + stream: ext://sys.stderr + access: + class: logging.StreamHandler + formatter: access + stream: ext://sys.stdout +loggers: + uvicorn: + level: INFO + handlers: + - default + uvicorn.error: + level: INFO + uvicorn.access: + level: INFO + propagate: False + handlers: + - access
\ No newline at end of file |