python_logging.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "level": "warning",
  3. "logger": "errors.views",
  4. "logentry": { "message": "This is a warning", "params": [] },
  5. "extra": { "sys.argv": ["./manage.py", "runserver", "0.0.0.0:8001"] },
  6. "event_id": "78d24ed7495c46fc8dbde72c1f20679b",
  7. "timestamp": "2020-04-24T18:23:02.950832Z",
  8. "breadcrumbs": [],
  9. "transaction": "/warning/",
  10. "contexts": {
  11. "trace": {
  12. "trace_id": "1022e5e9d8e44d2ebafddfa839b58c5f",
  13. "span_id": "9d329137b651e5ce",
  14. "parent_span_id": "b18a82b300d6699d",
  15. "op": "django.middleware",
  16. "description": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__"
  17. },
  18. "runtime": {
  19. "name": "CPython",
  20. "version": "3.8.2",
  21. "build": "3.8.2 (default, Feb 26 2020, 15:09:34) \n[GCC 8.3.0]"
  22. }
  23. },
  24. "modules": {
  25. "wheel": "0.34.2",
  26. "webencodings": "0.5.1",
  27. "wcwidth": "0.1.8",
  28. "urllib3": "1.25.8",
  29. "typed-ast": "1.4.1",
  30. "traitlets": "4.3.3",
  31. "tomlkit": "0.5.11",
  32. "toml": "0.10.0",
  33. "sqlparse": "0.3.1",
  34. "six": "1.14.0",
  35. "appdirs": "1.4.3"
  36. },
  37. "request": {
  38. "url": "http://localhost:8001/warning/",
  39. "query_string": "",
  40. "method": "GET",
  41. "env": { "SERVER_NAME": "5949a3cc0cd4", "SERVER_PORT": "8001" },
  42. "headers": {
  43. "Content-Length": "",
  44. "Content-Type": "text/plain",
  45. "Host": "localhost:8001",
  46. "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0",
  47. "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
  48. "Accept-Language": "en-US,en;q=0.5",
  49. "Accept-Encoding": "gzip, deflate",
  50. "Referer": "http://localhost:8001/",
  51. "Connection": "keep-alive",
  52. "Cookie": "",
  53. "Upgrade-Insecure-Requests": "1",
  54. "Cache-Control": "max-age=0"
  55. }
  56. },
  57. "server_name": "5949a3cc0cd4",
  58. "sdk": {
  59. "name": "sentry.python",
  60. "version": "0.14.2",
  61. "packages": [{ "name": "pypi:sentry-sdk", "version": "0.14.2" }],
  62. "integrations": [
  63. "argv",
  64. "atexit",
  65. "dedupe",
  66. "django",
  67. "excepthook",
  68. "logging",
  69. "modules",
  70. "stdlib",
  71. "threading"
  72. ]
  73. },
  74. "platform": "python",
  75. "_meta": {
  76. "request": {
  77. "headers": { "Cookie": { "": { "rem": [["!config", "x", 0, 1110]] } } }
  78. }
  79. }
  80. }