Commit 72cb512
fix: route logging to stdout and simplify INFO format
- Route all DataJoint logs to stdout instead of stderr
(avoids red highlighting in terminals/IDEs that color stderr)
- Simplify INFO/DEBUG format: remove level tag for cleaner output
- Keep [WARNING] and [ERROR] tags for actual issues
Before:
[2026-01-27 10:30:45,123][INFO]: DataJoint 2.0.0 connected to...
After:
[2026-01-27 10:30:45] DataJoint 2.0.0 connected to...
[2026-01-27 10:31:02][WARNING]: Table xyz not found
Users needing stderr can configure their own handlers.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c41dfac commit 72cb512
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
13 | 25 | | |
14 | 26 | | |
15 | 27 | | |
| |||
0 commit comments