python_logging.json 5.0 KB

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