Right logging system must not be overloaded by the log files amount. So, if the storage is limited - any logging must be looped. The system log file name is hardcoded, the max file size also. Actual Arduino's SD-card class can open file only for READ, WRITE or APPEND. No TRUNCATE is possible...