---json
{
"page_id": "z5evgxmmso9fig01j99ct"
}
---
====== Tabulify - Log Level ======
===== About =====
''Tabulify'' supports 5 levels of log.
===== Values =====
^ Level Value ^ Description ^
| ''error'' | Show only the ''error'' log |
| ''warn'' | Show the ''warning'' log and all level above (ie ''error'')|
| ''tip'' | Show the ''tip'' log and all log above (ie ''error'' and ''warning'') |
| ''info'' | Show the ''info'' logs and all level above (ie ''error'', ''warning'' and ''tip'') |
| ''fine'' | Show all logs |
===== Management =====
==== Default ====
By default, the log level is the ''info'' level.
''log level'' is a [[docs:conf:global_env|global attribute]] that sets the [[docs:common:log|log]] level.
==== Set ====
You can change the log level:
* via the ''log-level'' [[docs:tabul:option|option]].
tabul data list --log-level tip
* via the [[docs:conf:tabul.yml|the configuration vault]]
env:
log-level: tip
* via the ''log-level'' [[docs:conf:os|os environment variable]].
export TABUL_LOG_LEVEL=tip
===== Note =====
==== Advanced Log configuration ====
It's possible to define the log level by module/class with the [[https://docs.oracle.com/en/java/javase/21/docs/api/java.logging/java/util/logging/package-summary.html|java util logging]] framework known as ''JUL''.
```bash
java -Djava.util.logging.config.file=/path/to/logging.properties ...
```
For more information, you can check the [[https://docs.oracle.com/en/java/javase/21/core/java-logging-overview.html#GUID-B83B652C-17EA-48D9-93D2-563AE1FF8EDA__CONFIGURATIONFILE-4C48BDCE|official documentation]].