# Is there a function inverse of \`Logging.disable\_logging\`?

**URL:** <https://discourse.julialang.org/t/is-there-a-function-inverse-of-logging-disable-logging/110525>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 21, 2024, 4:22pm UTC](https://discourse.julialang.org/t/is-there-a-function-inverse-of-logging-disable-logging/110525 "2024-02-21T16:22:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [February 21, 2024, 4:22pm UTC](https://discourse.julialang.org/t/is-there-a-function-inverse-of-logging-disable-logging/110525/1 "2024-02-21T16:22:21Z")

</div>

Hi,

I find the following function very useful for switching my computations from a **dev** mode to a **production** mode:

```julia
Logging.disable_logging(Logging.Info)

```

Unfortunately, if I want to switch back, I can’t just remove the instruction and I restart julia.

Is there a better way ?
