python_logging.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. {
  2. "eventID": "d2e68809a8524be4b1a1d314a1f159ec",
  3. "dist": null,
  4. "userReport": null,
  5. "projectID": "11",
  6. "previousEventID": null,
  7. "message": "This is a warning: warning",
  8. "id": "5237",
  9. "size": 3880,
  10. "errors": [],
  11. "culprit": "/logger-warning/",
  12. "title": "This is a warning: warning",
  13. "platform": "python",
  14. "location": null,
  15. "nextEventID": null,
  16. "type": "default",
  17. "metadata": { "title": "This is a warning: warning" },
  18. "groupingConfig": { "id": "legacy:2019-03-12" },
  19. "crashFile": null,
  20. "tags": [
  21. { "value": "Firefox 96.0", "key": "browser", "_meta": null },
  22. { "value": "Firefox", "key": "browser.name", "_meta": null },
  23. { "value": "production", "key": "environment", "_meta": null },
  24. { "value": "warning", "key": "level", "_meta": null },
  25. { "value": "errors.views", "key": "logger", "_meta": null },
  26. { "value": "Ubuntu", "key": "os.name", "_meta": null },
  27. { "value": "CPython 3.10.1", "key": "runtime", "_meta": null },
  28. { "value": "CPython", "key": "runtime.name", "_meta": null },
  29. { "value": "78b41d5b387e", "key": "server_name", "_meta": null },
  30. { "value": "/logger-warning/", "key": "transaction", "_meta": null },
  31. {
  32. "value": "http://localhost:8001/logger-warning/",
  33. "key": "url",
  34. "_meta": null
  35. }
  36. ],
  37. "dateCreated": "2022-02-16T16:03:21.364Z",
  38. "dateReceived": "2022-02-16T16:09:45.454Z",
  39. "user": null,
  40. "entries": [
  41. {
  42. "type": "message",
  43. "data": {
  44. "message": "This is a warning: %s",
  45. "params": ["warning"],
  46. "formatted": "This is a warning: warning"
  47. }
  48. },
  49. {
  50. "type": "breadcrumbs",
  51. "data": {
  52. "values": [
  53. {
  54. "category": "errors.views",
  55. "level": "warning",
  56. "event_id": null,
  57. "timestamp": "2022-02-16T16:03:21.363Z",
  58. "data": null,
  59. "message": "This is a warning",
  60. "type": "log"
  61. }
  62. ]
  63. }
  64. },
  65. {
  66. "type": "request",
  67. "data": {
  68. "fragment": "",
  69. "cookies": [],
  70. "inferredContentType": "text/plain",
  71. "env": { "SERVER_NAME": "78b41d5b387e", "SERVER_PORT": "8001" },
  72. "headers": [
  73. [
  74. "Accept",
  75. "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"
  76. ],
  77. ["Accept-Encoding", "gzip, deflate"],
  78. ["Accept-Language", "en-US,en;q=0.5"],
  79. ["Cache-Control", "max-age=0"],
  80. ["Connection", "keep-alive"],
  81. ["Content-Length", ""],
  82. ["Content-Type", "text/plain"],
  83. ["Dnt", "1"],
  84. ["Host", "localhost:8001"],
  85. ["Referer", "http://localhost:8001/"],
  86. ["Sec-Fetch-Dest", "document"],
  87. ["Sec-Fetch-Mode", "navigate"],
  88. ["Sec-Fetch-Site", "same-origin"],
  89. ["Sec-Gpc", "1"],
  90. ["Upgrade-Insecure-Requests", "1"],
  91. [
  92. "User-Agent",
  93. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
  94. ]
  95. ],
  96. "url": "http://localhost:8001/logger-warning/",
  97. "query": [],
  98. "data": null,
  99. "method": "GET"
  100. }
  101. }
  102. ],
  103. "packages": {
  104. "platformdirs": "2.4.1",
  105. "cffi": "1.15.0",
  106. "ipython-genutils": "0.2.0",
  107. "packaging": "20.9",
  108. "pygments": "2.11.2",
  109. "cleo": "0.8.1",
  110. "pip": "21.2.4",
  111. "prompt-toolkit": "3.0.3",
  112. "parso": "0.7.1",
  113. "jeepney": "0.7.1",
  114. "html5lib": "1.1",
  115. "appdirs": "1.4.4",
  116. "requests-toolbelt": "0.9.1",
  117. "regex": "2021.11.10",
  118. "pastel": "0.2.1",
  119. "distlib": "0.3.4",
  120. "msgpack": "1.0.3",
  121. "crashtest": "0.3.1",
  122. "sentry-sdk": "1.5.1",
  123. "ipdb": "0.12.3",
  124. "six": "1.16.0",
  125. "poetry": "1.1.12",
  126. "ptyprocess": "0.7.0",
  127. "click": "8.0.3",
  128. "jedi": "0.17.2",
  129. "traitlets": "4.3.3",
  130. "asgiref": "3.4.1",
  131. "charset-normalizer": "2.0.10",
  132. "cachy": "0.3.0",
  133. "pathspec": "0.9.0",
  134. "cachecontrol": "0.12.10",
  135. "certifi": "2021.10.8",
  136. "wheel": "0.37.0",
  137. "backcall": "0.2.0",
  138. "cryptography": "36.0.1",
  139. "sqlparse": "0.4.2",
  140. "pycparser": "2.21",
  141. "secretstorage": "3.3.1",
  142. "urllib3": "1.26.8",
  143. "virtualenv": "20.13.0",
  144. "webencodings": "0.5.1",
  145. "pytz": "2021.3",
  146. "clikit": "0.6.2",
  147. "ipython": "7.16.2",
  148. "pexpect": "4.8.0",
  149. "lockfile": "0.12.2",
  150. "pickleshare": "0.7.5",
  151. "decorator": "5.1.1",
  152. "filelock": "3.4.2",
  153. "typed-ast": "1.5.1",
  154. "keyring": "21.8.0",
  155. "wcwidth": "0.2.5",
  156. "django": "3.2.11",
  157. "poetry-core": "1.0.7",
  158. "pyparsing": "3.0.6",
  159. "pylev": "1.4.0",
  160. "toml": "0.10.2",
  161. "setuptools": "57.5.0",
  162. "pkginfo": "1.8.2",
  163. "black": "19.10b0",
  164. "requests": "2.27.1",
  165. "shellingham": "1.4.0",
  166. "idna": "3.3",
  167. "tomlkit": "0.8.0",
  168. "attrs": "21.4.0"
  169. },
  170. "sdk": {
  171. "version": "1.5.1",
  172. "name": "sentry.python",
  173. "upstream": { "url": null, "isNewer": false, "name": "sentry.python" }
  174. },
  175. "_meta": {
  176. "user": null,
  177. "context": null,
  178. "entries": {},
  179. "contexts": null,
  180. "message": null,
  181. "packages": null,
  182. "tags": {},
  183. "sdk": null
  184. },
  185. "contexts": {
  186. "runtime": {
  187. "version": "3.10.1",
  188. "type": "runtime",
  189. "build": "3.10.1 (main, Dec 21 2021, 09:17:12) [GCC 10.2.1 20210110]",
  190. "name": "CPython"
  191. },
  192. "os": { "type": "os", "name": "Ubuntu" },
  193. "trace": {
  194. "description": "logger-warning",
  195. "parent_span_id": "8975a24136cb2cd8",
  196. "trace_id": "94cb880c05a64d24830b7b965a3f252b",
  197. "span_id": "a1bd762572798358",
  198. "type": "default",
  199. "op": "django.view"
  200. },
  201. "browser": { "version": "96.0", "type": "browser", "name": "Firefox" }
  202. },
  203. "fingerprints": ["ae892508e4c6408588e7c034c4966a00"],
  204. "context": { "sys.argv": ["./manage.py", "runserver", "0.0.0.0:8001"] },
  205. "release": null,
  206. "groupID": "303"
  207. }