Skip to content

Prevent <string> syslog stream from multiprocessing spawn children - #495

Merged
Dany9966 merged 1 commit into
cloudbase:masterfrom
fabi200123:completely-remove-string-log
Aug 13, 2026
Merged

Prevent <string> syslog stream from multiprocessing spawn children#495
Dany9966 merged 1 commit into
cloudbase:masterfrom
fabi200123:completely-remove-string-log

Conversation

@fabi200123

Copy link
Copy Markdown
Contributor

This is a follow up PR for #492 because oslo_log also uses inspect for the syslog identity in spawn children (python -c), which resolves to <string>. In order to completely fix the issue, we set the use_syslog to False there and remove handlers via list(log_root.handlers) so none are skipped while mutating the live list before attaching QueueHandler (logs still go to the parent).

oslo_log also uses inspect for the syslog identity in spawn children
(python -c), which resolves to <string>. Disable use_syslog there and
clear handlers via list(...) before attaching QueueHandler (logs still
go to the parent).
@fabi200123
fabi200123 force-pushed the completely-remove-string-log branch from d5bc6ca to 38a07b6 Compare August 11, 2026 14:27
@Dany9966
Dany9966 merged commit f51f3aa into cloudbase:master Aug 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants