Changing the log files path in hailo-8

Hello! I am writing a simple inferencing program with python and the hailo-8. After running the script, I noticed that hailort is producing some log files, hailort.log and pyhailort.log. I was just wondering if there is a way to set a destination folder for these log files, so they do not build up in our main directory. Thank you for any help you can give.

You can change the path for the log file by changing the HAILORT_LOGGER_PATH environment variable.

In shell: you can use full path, or relative to the running directory path.
In python: please use full path.

If you are setting it in Python (os.environ[‘HAILORT_LOGGER_PATH’]=‘…’), please notice to do it before importing the hailort-python (hailo_platform).


A copy of the HailoRT log will be written to:

– Linux - /home//.hailo/hailort/
– Windows - C:\Users<user>\AppData\Local\HailoRT\