11GB log file?

Had a strange problem yesterday.
OSMC came up with a Space insufficient error, and sure something was very wrong.

free%20space

Tried to run both sudo apt-get clean and sudo apt-get autoremove.

clean%20autoremove

Then i had a look in \osmc.kodi\temp and here we had the problem, a huge logfile at almost 12GB

temp%20dir

The last lines in the log was the following.

15:15:04.016 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.026 T:3188716288 DEBUG: Wifi Thread True
15:15:04.026 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.026 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.036 T:3188716288 DEBUG: Wifi Thread True
15:15:04.037 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.037 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.047 T:3188716288 DEBUG: Wifi Thread True
15:15:04.047 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.047 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.057 T:3188716288 DEBUG: Wifi Thread True
15:15:04.057 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.057 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.068 T:3188716288 DEBUG: Wifi Thread True
15:15:04.068 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.068 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.078 T:3188716288 DEBUG: Wifi Thread True
15:15:04.078 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.078 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.088 T:3188716288 DEBUG: Wifi Thread True
15:15:04.088 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.088 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.099 T:3188716288 DEBUG: Wifi Thread True
15:15:04.099 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.099 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.109 T:3188716288 DEBUG: Wifi Thread True
15:15:04.109 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.109 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.119 T:3188716288 DEBUG: Wifi Thread True
15:15:04.119 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.119 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.130 T:3188716288 DEBUG: Wifi Thread True
15:15:04.130 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.130 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.140 T:3188716288 DEBUG: Wifi Thread True
15:15:04.140 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.140 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.150 T:3188716288 DEBUG: Wifi Thread True
15:15:04.150 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.150 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.161 T:3188716288 DEBUG: Wifi Thread True
15:15:04.161 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.161 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.171 T:3188716288 DEBUG: Wifi Thread True
15:15:04.171 T:3188716288 DEBUG: Wifi Scan Thread True
15:15:04.171 T:3188716288 DEBUG: BT Scan Thread False
15:15:04.181 T:3188716288 DEBUG: Wifi Thread True

Deleted the the huge file, and rebooted and 12 hours later everything still seems fine, the log file is only 14KB large so no problem.

What on earth could have caused this? I don’t remember changing anything, and the Vero was working fine.

For obvious reasons i don’t have the logfile anymore.

Well you had Debug Logging enabled which could create huge log files.
But 11 GB seems quite strange. While your Wifi/BT Scan should only happen when in MyOSMC.
So I suggest to check if currently there is still written something very often to the log file tail -f .kodi/temp/kodi.log
And suggest to disable debug logging unless needed.
Maybe you even have event logging enabled.

Thanks for the reply :slight_smile:

I got the the last entries from the huge log with the tail command, and after deleting the large log file and rebooting no Wifi/BT Scan entries appear in the logs.

Event logging is/was disabled only debug logging is enabled in advancedsettings.xml, I always have had debug enabled as i find it very useful, and it have never caused any problems in the past.

But with almost 300 Wifi/BT Scan entries in the logfile per second, it will quickly make a huge log file.