marzent / IINACT

A Dalamud plugin to run the FFXIV_ACT_Plugin in an ACT-like enviroment with a heavily modified port of Overlay Plugin
https://www.iinact.com
GNU General Public License v3.0
169 stars 39 forks source link

Add function to start writing to new log file at will #82

Open RhapsodySL opened 1 month ago

RhapsodySL commented 1 month ago

As of right now IINACT will utilize the same log file for a day, regardless of what occurs within the log file. This is fine, but after a while you end up with a large log file (I’ve had mine get up to around 100MB easily). If you’re then using FFLogs to parse this, you have to upload that surplus of data, which is both harsh on slower connections and wasteful to upload to FFLogs as most people probably don’t want the entirety of their fight history for the day uploaded, particularly if the majority of that isn’t even instanced content.

I’m essentially asking for the ability to start writing to a new log at will so that when I start raiding for the day, I have a clean log file to upload to FFLogs that only contains the pertinent logs. The only way to do this right now is to close the client and manually delete the file since the file is locked until the game is closed.

As an aside, an option to only have IINACT print to log once an instance is entered (and stop after exiting) would go a decent ways to reducing log bloat as there is limited usefulness for open world logs, and would also be particularly helpful given that IINACT also has no automated cleaning/archival of older logs (I had logs from mid 2023 when I looked recently and my folder was several gigabytes large if I recall correctly).

StackBLU commented 1 day ago

Pleeeeeeease please please please, I would love this so much.

/endlog to force a new log to be created /deletelog to delete the current log and start a new one

marzent commented 1 day ago

I can try implementing these once I have a bit of time (might not be before savage release though)