Skip to main content

Save a log in a task

The append-log command allows to save a log entry to the task. If the number of log entries is reached, the oldest log entry is removed.

Modifiers

-t, --task-id

Show the command line help. Required

-lv, --log-level

Log level. Can be INFO, WARN or ERROR. Required

Arguments

value

Log message

Examples

# INFO message
kuflowctl append-log --task-id=a1c13ed9-b6d7-444d-afc8-60dcaf454649 --log-level=INFO "My log message"

# ERROR message
kuflowctl append-log --task-id=a1c13ed9-b6d7-444d-afc8-60dcaf454649 --log-level=ERROR "My log message"

Kuflow Logo