# log

{% hint style="info" %}
Deprecated. Use [log](https://docs.datajet-app.com/liquid/tags/log) 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:&#x20;

* CRITICAL
* ACTION
* WARNING
* INFO

Parameters will define the severity of the log.&#x20;

#### Example

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

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

```
{{ "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 %}
