How to disable automatically rotated log files

A standard setting of the STO server is to automatically rotated log files every hour. Which means that you have to select the rotated combatlog manually. You find your Combatlog in the “Cryptic Studios\Star Trek Online\Live\logs\GameClient” folder. A rotated combatlog is looking like this combatlog_date_time.log (e.g. “Combatlog_2016-02-25_18-00-00.Log”) and you have to select the latest one.

But there is a way to disable the log rotation in your client settings.

  1. Open your STO launcher options.

    Log1

  2. Write “-NoAutoRotateLogs” (without quotation marks) into the command line and save your changes.

    Log2
    After this setting is changed your logfiles are not rotating anymore. Your combatlog will now be called Combatlog.log .

 

 

 

 

 

15 comments to How to disable automatically rotated log files

  • Carcosa  says:

    How do you reverse this?

    • felisean  says:

      Remove the Command from the Command Line.
      But normaly there shouldnt be a reason to do so, you will just fill your sto folder with a bunch of different logfiles.

    • whicky1978  says:

      It only shows if you turn combat log on when you play.

  • MadCat  says:

    For me it did not work get an error log with this entry:

    180220 15:37:54 1 [1] ESC : ERROR: Unrecognized command: NoAutoRotateLogs\nUnknown command \qNoAutoRotateLogs\q.

    • felisean  says:

      added the correct line? Just asking bc it works for me.
      its: -NoAutoRotateLogs (including the -)

      • MadCat  says:

        Yes, after reinstall no error log but every startup creating new packet and pcl_*.log files, no change starting as admin. Don’t know why but seems must do it the old way delete the files every week.

        • felisean  says:

          yea not all the autorotate. its mainly for the combatlog file, that you dont get several there.

  • Chop-Block  says:

    Okay, I’m going to post here, even though it has little to do with -NoAutoRotateLogs.
    First and foremost, I cannot get CLR to work. It downloads, but then when I try to search for my log files, NADA. I cannot find the files. I purchased a new computer in August 2018, which may be the problem (previously I had used SCM). I did do the -NoAutoRotateLogs thing, but it made no difference. Still, no way to find the log files. BTW, when I go to “options,” the command -NoAutoRotateLogs always appears, which troubles me. As if the command had not been accepted.

    • felisean  says:

      you could find your logfile in your sto folder
      star trek online => live => logs =>gameclient=> and there it is, combatlog.log (if you typed /combatlog 1 in sto and created a logfile)

      • Chop-Block  says:

        Yeah, I’m sure it’s me, but I can’t fine the file “star trek online”. Obviously, I have such a file, but I can’t find it. I’ll keep looking

      • Chop-Block  says:

        FYI, when I “browse” it always shows me My Chess Database

      • Chop-Block  says:

        I think I found them. I think the log names are [year][month][date][random number].log? Can’t get them to load even though I found them.

        • felisean  says:

          if thats the case you dont have the noautorotatelogs set up propperly in your launcher 🙂
          with that active, you should get just a combatlog.log file, all the other files are generated by the autorotate

  • Chop-Block  says:

    Sorry for the constant queries, but I can’t edit previous posts. So, after disabling some locate indexing options on Windows, I was able to find C;\Program Files(x86)\Star Trek Online en\Star Trek Online\Live\Logs\GameClient\ and 2 files that are labeled CombatLog_2018-09-06_00-00-00.Log and 01-00-00.Log. However, the ReadCombatLog function is greyed out, so I can’t get either of them to upload. I will try another couple of runs this weekend to see if I am at least adding CombatLog files. But the way, there are many “Crash” files in the same GameClient folder, so I don’t know what that’s about.

    • felisean  says:

      yea its all bc of the autoritatelogs that there are so many and not just one file.
      defnitly double check if you added the command line into the browser propperly 🙂

      and in case it stil not work, we might be able to help you directly ingame or via discord 🙂

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>