Skip to content

Commit ca66a1a

Browse files
committed
Update README.md to incude information about exception support
1 parent c57e6f6 commit ca66a1a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,11 @@ e.g.:
216216
"thread": "MainThread",
217217
"level": "INFO",
218218
"line_no": 22,
219+
"filename": "/path/to/foo.py"
220+
"exc_info": "Traceback (most recent call last): \n File "<stdin>", line 1, in <module>\n ValueError: There is something wrong with your input",
219221
"correlation_id": "1975a02e-e802-11e7-8971-28b2bd90b19a",
220-
"extra_property": "extra_value"
222+
"extra_property": "extra_value",
223+
"msg": "This is a message"
221224
}
222225
```
223226
- Request log: request instrumentation logging statement which recorded request information such as response time, request size, etc.
@@ -268,8 +271,9 @@ Field | Description | Format | Example
268271
msg | The actual message string passed to the logger. | string | This is a log message
269272
level | The log "level" indicating the severity of the log message. | string | INFO
270273
thread | Identifies the execution thread in which this log message has been written. | string | http-nio-4655
271-
logger | The logger name that emits the log message.
272-
| string | requests-logger
274+
logger | The logger name that emits the log message. |string | requests-logger
275+
filename | The file name where an exception originated | string | /path/to/foo.py
276+
exc_info | Traceback information about an exception | string | "Traceback (most recent call last): \n File "<stdin>", line 1, in <module>\n ValueError: There is something wrong with your input"
273277

274278
- request logs:
275279

0 commit comments

Comments
 (0)