Log file get literally all SSD free space

I had a 80GB log file in AppData/Local/Battle.net/Logs and no more space on my SSD. Filled entire SSD. I deleted 2 huge files and i hope this will not happen again. But you’d better to know it.