ESPHome logger => to a file

Ok I figured it out:

#SSH into esphome docker
#install ps (optional)
apt-get update && apt-get install procps

#list running esphome processes
ps aux | grep esphome

#kill running process (via PID)
kill <PID>

I created a tutorial which contains a script to start and stop esphome logs on HAOS if it helps?