<#8926 feature: Add a `meltano log tail` command> ...
# meltano-repo-activity
g
#8926 feature: Add a `meltano log tail` command Issue created by edgarrmondragon ### Feature scope CLI (options, error messages, logging, etc.) ### Description A more advanced version of #2184. Start by printing 'n' log lines and continue to print any additional lines as they are emitted to the log.
Copy code
# Tail a specific already known log-id.
meltano log tail --log-id=LOG_ID [--lines=n]

# Same as above but auto-lookup the latest known log-id from the provided job or schedule name
meltano log tail [SCHEDULE_NAME|JOB_NAME|STATE_ID] [--tail=n] [--head=n]
This probably makes more sense if couple with a change to reduce the volume of logs Meltano prints by default to the console. Related: • #3206 • #8893 • #9412 meltano/meltano