Fixed logging date format and sendFile.