First I need to say: this does
not violate the ToS (14.2.d Except as expressly permitted in these Terms or in the applicable EULA, such license does not include, and you agree not to engage in, any: modifying, adapting, altering, enhancing, or otherwise making any derivative uses of any Games, game content or other Proprietary Materials, or any portion thereof.)
I asked a Game Master and he said "You may copy/archive/delete/modify the Combatlog.log freely!" (It does not affect the Game in any way!)
If you don't like the Cryptic solution of renaming Combatlogs or if you use a Parser that requires the STO-Commandline "NoAutoRotateLogs" you can archive your Combatlogs in an easy way:
- Create a folder that will contain your archived Logfiles in the future
- Adjust the folder in the Batchfile which is following.
- Open the folder that contains your COMBATLOG.LOG, rightclick and create a new .TXT file.
- Open the Textfile
- Now insert the following code
@ECHO OFF
SETLOCAL
SET SIZELIMIT=10
REM Check if the Combatlog has content - if not, do nothing.
FOR %%F in (COMBATLOG.LOG) DO SET FSIZE=%%~zF
IF %FSIZE% LSS %SIZELIMIT% GOTO EoF
REM Compress the Combatlog
COMPACT /C /Q COMBATLOG.Log >NUL
REM Renaming the COMBATLOG.LOG to COMBATLOG_Date-Time.LOG
RENAME COMBATLOG.LOG COMBATLOG_%date:~-4%_%date:~3,2%_%date:~0,2%_%time:~1,1%_%time:~3,2%_%time:~6,2%.LOG
REM Move the new Logfile to the new folder.
MOVE COMBATLOG*.LOG "D:\Program Files (x86)\Steam\steamapps\common\Star Trek Online\Star Trek Online\Live\logs\GameClient\OldLogs\" >NUL
REM Create an empty COMBATLOG.LOG
ECHO.>"D:\Program Files (x86)\Steam\steamapps\common\Star Trek Online\Star Trek Online\Live\logs\GameClient\COMBATLOG.LOG"
ECHO Combatlog has been archived successfully!
ECHO.
PAUSE
EXIT
:EoF
ECHO Combatlog is empty - We made no changes!
ECHO.
PAUSE
Now save the File as Filename.BAT (ignore the Warning you get from Windows).
Now just rightclick on the new Batchfile, create a shortcut on Desktop. Now you can archive your Combatlog and get a new and empty logfile whenever you want.