Commit b81f1f8
Simplify _resolve_logging_config and widen file handler check
- Remove makedirs_shared from _resolve_logging_config (directory creation
is already handled at the call site after fileConfig runs)
- Widen isinstance check from RotatingFileHandler to FileHandler (base
class) so ensure_shared_file covers all file-based log handlers
- Remove unused logging.handlers import
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 579c07e commit b81f1f8
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
175 | | - | |
| 174 | + | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
219 | | - | |
220 | | - | |
221 | 218 | | |
222 | 219 | | |
223 | 220 | | |
| |||
235 | 232 | | |
236 | 233 | | |
237 | 234 | | |
238 | | - | |
| 235 | + | |
239 | 236 | | |
240 | 237 | | |
241 | 238 | | |
| |||
0 commit comments