I have noticed a huge performance hit in one of my projects when logging is enabled for the first time. But when the log file limit is reached and the program starts writing
wRAR is correct.
Open a new file using your favourite library, then seek to the penultimate byte and write a 0 there. That should allocate all the required disk space.