
Core Log
CertifiedEmit log entries from a flow.
Core Log
Emit log entries from a flow.
Render one or many messages (strings or arrays) and write them to the task log at a specified level.
Uses the same templating engine as other tasks, so you can interpolate variables or secrets. The level property sets the severity of the emitted entry; the flow-level logLevel setting still controls which entries are persisted, so align both when troubleshooting missing logs.
type: io.kestra.plugin.core.log.LogExamples
Log a DEBUG level message containing expressions.
id: send_logs
namespace: company.team
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
level: DEBUG
message: "{{ task.id }} started at {{ taskrun.startDate }}"
Log one or more messages to the console.
id: hello_world
namespace: company.team
tasks:
- id: greeting
type: io.kestra.plugin.core.log.Log
message:
- Kestra team wishes you a great day 👋
- If you need some help, reach out via SlackProperties
message *stringarray
One or more message(s) to be sent to the backend as logs
It can be a string or an array of strings.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150level string
INFOERRORWARNINFODEBUGTRACEThe level on which the message should be logged. Note that this is different from the core logLevel property which sets the minimum log level to be persisted in the backend database. The level property is used to determine the log level of the message emitted by the Log task, while logLevel is used to filter which logs should be stored in the backend. Both properties can be used together to control the log level of the message emitted by the task and the logs that are persisted in the backend. If not specified, the level defaults to INFO.