# Log formatting cli issue

**URL:** https://discourse.getdbt.com/t/log-formatting-cli-issue/4466
**Category:** Archive
**Created:** [June 10, 2022, 8:23am UTC](https://discourse.getdbt.com/t/log-formatting-cli-issue/4466 "2022-06-10T08:23:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![philk](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@philk](https://discourse.getdbt.com/u/philk)
#### Post date: [June 10, 2022, 8:23am UTC](https://discourse.getdbt.com/t/log-formatting-cli-issue/4466/1 "2022-06-10T08:23:24Z")

</div>

I’m having an issue with CLI printing the extensive logs normally found in logs/dbt.log (see below). Is there config I can play with so that CLI logs return to the standard sparse logging?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/2X/3/3f6a5c7d6a465934d99311bd8718b35d5045494e.png)

---

<div class="post-metadata">

### Author: ![ted.conbeer](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/ted.conbeer/32/42_2.png) [@ted.conbeer](https://discourse.getdbt.com/u/ted.conbeer)
#### Post date: [June 22, 2022, 8:46pm UTC](https://discourse.getdbt.com/t/log-formatting-cli-issue/4466/2 "2022-06-22T20:46:51Z")

</div>

This behavior is configured as a global config; docs are here: [Global Configs | dbt Docs](https://docs.getdbt.com/reference/global-configs#debug-level-logging)

You’ll get debug logs if you run a dbt command with the `--debug` or `-d` options, by setting the environment variable, `DBT_DEBUG=True`, or by setting the config in your `profiles.yml` file:

```nohighlight
config:
  DEBUG: true

```

I suspect either the environment variable or the config option in your profile are set, which is causing this behavior
