# log

{% hint style="info" %}
Deprecated. Use [log](/liquid/tags/log.md) tag instead.
{% endhint %}

`log` is a simple tag that will log anything to task logs section.

It can optionally accept a parameter. This parameter must be one of the following:

* CRITICAL
* ACTION
* WARNING
* INFO

Parameters will define the severity of the log.

#### Example

```
{{ "Hello world" | log: "INFO" }}
```

This will output *Hello world* in the task logs section. Same could be done with:

```
{{ "Hello world" | log }}
```

{% hint style="info" %}
When creating task, all logs will be displayed in browser console.
{% endhint %}

{% hint style="warning" %}
Number of logs that can be created during 24h period is limited to 1 million
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datajet-app.com/liquid/filters/log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
