# Possible to suppress terminal stream output in Pluto notebook?

**URL:** https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859
**Category:** Pluto
**Created:** [January 12, 2023, 9:53am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859 "2023-01-12T09:53:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Igor\_Douven](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igor_douven/32/8433_2.png) [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)
#### Post date: [January 12, 2023, 9:53am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/1 "2023-01-12T09:53:44Z")

</div>

Hi all, I’m using `MixedModels.jl` in a Pluto notebook and I’d like to suppress the solver output, which now appears in the notebook. I had hoped that `verbose = false` would do the trick, but it doesn’t. Does anyone know what _would_ work? Is there maybe a general command that will disallow Pluto to print terminal output in the notebook?

---

<div class="post-metadata">

### Author: ![skleinbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skleinbo/32/36080_2.png) [@skleinbo](https://discourse.julialang.org/u/skleinbo)
#### Post date: [January 12, 2023, 10:29am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/2 "2023-01-12T10:29:08Z")

</div>

I don’t think it’s possible to disable printing on a per-cell basis. At least I didn’t find anything on it. But you can start Pluto with  
`Pluto.run(capture_stdout=false)`. See

> **[🧾 Logging](https://github.com/fonsp/Pluto.jl/wiki/%F0%9F%A7%BE-Logging#writing-to-standard-output)**
>
> 🎈 Simple reactive notebooks for Julia. Contribute to fonsp/Pluto.jl development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![Igor\_Douven](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igor_douven/32/8433_2.png) [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)
#### Post date: [January 12, 2023, 11:02am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/3 "2023-01-12T11:02:35Z")

</div>

Thank you, this solved the problem!

---

<div class="post-metadata">

### Author: ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)
#### Post date: [January 12, 2023, 1:40pm UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/4 "2023-01-12T13:40:59Z")

</div>

Just for future reference for people reaching this thread (and not following the link), it is indeed possible to disable logs on a per-cell basis using the cell-specific `Hide logs` button as also written in the link provided above:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/c/5/c5c558c589e2b85900408df6aebcffea6f9a3f19.png)

---

<div class="post-metadata">

### Author: ![skleinbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skleinbo/32/36080_2.png) [@skleinbo](https://discourse.julialang.org/u/skleinbo)
#### Post date: [January 12, 2023, 1:46pm UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/5 "2023-01-12T13:46:21Z")

</div>

You are right. This should be the real solution!

However, I find the documentation poorly phrased. I was under the impression “Hide logs” applied to messages emitted by the logger only, i.e. `@info, @warn,...`.

Anyway, good to know 🙂

---

<div class="post-metadata">

### Author: ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)
#### Post date: [January 12, 2023, 1:47pm UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/6 "2023-01-12T13:47:30Z")

</div>

I am so used to it that I didn’t even read the description but you are right that it’s not clear that it also applies to captured stdout 😃

---

<div class="post-metadata">

### Author: ![jerlich](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jerlich/32/5205_2.png) [@jerlich](https://discourse.julialang.org/u/jerlich)
#### Post date: [July 18, 2024, 8:49am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/7 "2024-07-18T08:49:29Z")

</div>

The **real** answer to this is `progress=false` suppresses the stdout of MixedModels.jl fits. 😉

---

<div class="post-metadata">

### Author: ![fonsp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fonsp/32/222349_2.png) [@fonsp](https://discourse.julialang.org/u/fonsp)
#### Post date: [August 11, 2024, 7:08am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859/8 "2024-08-11T07:08:35Z")

</div>

You can use [Suppressor.jl](https://github.com/JuliaIO/Suppressor.jl) to control logging and terminal output per cell.
