<#9594 feat(cli): improve plugin name display in c...
# meltano-repo-activity
g
#9594 feat(cli): improve plugin name display in console logs using custom columns Pull request opened by ranjitodedra ## Description This PR improves the readability of Meltano console logs by displaying plugin names in their own dedicated column, similar to how timestamps and log levels are displayed. ## Problem Currently, when both extractor and loader emit SDK structured logs, the plugin name appears at the end of each log message:
Copy code
2025-10-18T01:41:34.308572Z [info ] tap-fedidb v0.5.0, Meltano SDK v0.50.2 name=tap-fedidb
2025-10-18T01:41:35.554208Z [info ] target-csv v0.2.1, Meltano SDK v0.50.2 name=target-csv
This makes it difficult to quickly scan logs and identify which component generated each message. ## Solution Implemented custom column formatting using structlog's
Column
and
KeyValueColumnFormatter
to display plugin names in their own column:
Copy code
2025-10-18T01:41:34.308572Z [info ] tap-fedidb v0.5.0, Meltano SDK v0.50.2
2025-10-18T01:41:35.554208Z [info ] target-csv v0.2.1, Meltano SDK v0.50.2
## Changes • Modified
MeltanoConsoleRenderer.__init__()
to use custom columns • Added column configuration for timestamp, level, plugin name, and message • Applied appropriate styling (dim for timestamp, bold for level, cyan for plugin names) ## Related Issues • Closes #9586 ## Summary by Sourcery Enhancements: • Add custom structlog columns for timestamp, level, plugin name, and message with dim, bold, and cyan styling meltano/meltano