Commit 153ce69
committed
Add opt-in debug logging configuration for Jupyter server
Adds configurable debug logging to help troubleshoot kernel communication
and server issues without impacting production performance.
Changes:
- Add environment variable-based debug logging configuration
- Make Application.log_level conditional (DEBUG or INFO)
- Add enhanced logging_config for tornado, jupyter_server, and jupyter_client
- Add opt-in Session.debug for ZMQ message flow logging
- Add environment variable documentation to README.md
All features are opt-in via environment variables:
- DEEPNOTE_ENABLE_DEBUG_LOGGING: Enables DEBUG-level logs (default: false/INFO)
- DEEPNOTE_ENABLE_ZMQ_DEBUG: Enables ZMQ message debugging (default: false)
This ensures production-safe defaults with no performance impact when disabled.1 parent 9994c8f commit 153ce69
File tree
2 files changed
+45
-3
lines changed- deepnote_core/resources/jupyter
2 files changed
+45
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
417 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
418 | 432 | | |
419 | 433 | | |
420 | 434 | | |
| |||
820 | 834 | | |
821 | 835 | | |
822 | 836 | | |
823 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
824 | 841 | | |
825 | 842 | | |
826 | 843 | | |
| |||
0 commit comments