Deactivate the logs of TensorFlow with M1

I have been working with TensorFlow on my M1, however I have tried several times to deactivate the logs from TensorFlow and nothing seems to work.

Could someone provide a way to deactivate them?

Accepted Reply

Hi,

I am assuming these are the core Tensorflow VLOGs you are referring to ? They are activated by:

export TF_CPP_MAX_VLOG_LEVEL=3
export TF_CPP_MAX_LOG_LEVEL=0

and you can deactivate them by setting the VLOG=0

export TF_CPP_MAX_VLOG_LEVEL=0
  • Hello,

    I tried your recommendation, however, in result the logs were not deactivated. Looking into some of the logs, I found this being useful:

    export TF_CPP_MIN_LOG_LEVEL=2

    Thank you for providing some guide to know where to look at.

Add a Comment

Replies

Hi,

I am assuming these are the core Tensorflow VLOGs you are referring to ? They are activated by:

export TF_CPP_MAX_VLOG_LEVEL=3
export TF_CPP_MAX_LOG_LEVEL=0

and you can deactivate them by setting the VLOG=0

export TF_CPP_MAX_VLOG_LEVEL=0
  • Hello,

    I tried your recommendation, however, in result the logs were not deactivated. Looking into some of the logs, I found this being useful:

    export TF_CPP_MIN_LOG_LEVEL=2

    Thank you for providing some guide to know where to look at.

Add a Comment