# tf.keras.utils.is_interactive_logging_enabled

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.13.1/keras/utils/io_utils.py#L55-L70) |

Check if interactive logging is enabled.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v1.keras.utils.is_interactive_logging_enabled\`

<br />

    tf.keras.utils.is_interactive_logging_enabled()

To switch between writing logs to stdout and `absl.logging`, you may use
[`keras.utils.enable_interactive_logging()`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/utils/enable_interactive_logging) and
`keras.utils.disable_interactie_logging()`.

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Boolean (True if interactive logging is enabled and False otherwise). ||

<br />