<#9669 fix: Parse plugin logs coming out during `m...
# meltano-repo-activity
g
#9669 fix: Parse plugin logs coming out during `meltano invoke` Pull request opened by edgarrmondragon ## Description ## Related Issues • Closes #XXXX ## Summary by Sourcery Improve
meltano invoke
plugin log handling by parsing structured stderr output and aligning plugin directory resolution with the new project directory API. Enhancements: • Add a log output handler to parse plugin stderr using configured log parsers during
meltano invoke
, falling back gracefully to plain logging when parsing fails. • Capture plugin stderr asynchronously in
meltano invoke
and route it through structured logging with proper log levels and extra fields preserved. • Update plugin configuration, run, and virtualenv directory resolution to use the newer
project.dirs
helpers instead of deprecated path accessors. Tests: • Add unit tests for the log output handler covering structured Singer SDK logs, plain text logs, empty lines, multiple severity levels, and preservation of extra fields. meltano/meltano