Commit d17a081
committed
Log MongoEngine version when connecting to the server
Here's an example of the server log behavior after this change:
{"t":{"$date":"2023-04-13T10:56:07.619-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:58812","uuid":"38175cc1-8c5c-44a2-8b05-afc38f35823e","connectionId":219,"connectionCount":8}}
{"t":{"$date":"2023-04-13T10:56:07.624-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn219","msg":"client metadata","attr":{"remote":"127.0.0.1:58812","client":"conn219","doc":{"driver":{"name":"PyMongo|MongoEngine","version":"4.2.0|0.27.0"}, ...}}}1 parent ac8ba50 commit d17a081
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| |||
320 | 327 | | |
321 | 328 | | |
322 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
323 | 334 | | |
324 | 335 | | |
325 | 336 | | |
| |||
0 commit comments