Commit 4ffa795
fix: stop creating root.log on autoarray import
Remove the FileHandler with filename root.log from autoarray's packaged
logging.yaml (and the test config mirror). It attached to the root logger
unconditionally, dropping a root.log into cwd whenever a script imported
autoarray from a directory whose own config/logging.yaml did not override
this one (e.g. running from a repo root rather than a workspace dir).
Console logging via StreamHandler is unchanged.
Co-Authored-By: Claude Opus 4.7 <[email protected]>1 parent 1b06b43 commit 4ffa795
2 files changed
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
18 | | - | |
| 13 | + | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
18 | | - | |
| 13 | + | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
| |||
0 commit comments