GitHub
11/22/2024, 4:56 PMmeltano 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.
# 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
meltano/meltano