What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Honorbuddy active Log purge

griovejas

New Member
Joined
Jun 18, 2010
Messages
210
Reaction score
0
Honorbuddy generates very extensive logs in "Log" and "Debug Log" tabs over time, which slows the bot down. I think you noticed that after a while (5+ hours) of non-stop grinding the toon starts acting slower, skills are being used after a "delay", where on a fresh session they are lightning fast.

I know ppather had this problem a while ago, which devs solved by implementing a max character count in the log (anything above x lines got cleared).

Would it be possible to create a plugin that clears the active logs periodically?
 
Threw this together cannot test or fine tune, but this should delete any files older then 3 minutes in the Log Directory.
 

Attachments

Last edited:
Thanks for this, but as far as I understand, this deletes the log files. The problem lies in the active log, visible on HonorBuddy interface. It grows without limitations.
 
Hard limited to 5000 lines in the next release. (Once it hits 5k lines, it'll clear the log)
 
Hard limited to 5000 lines in the next release. (Once it hits 5k lines, it'll clear the log)

Do we really need 5000 lines of log? Realistically people who are going to report a bug/error are monitoring the bot. I think 1,000 Lines would be easily enough for anyone who wants to look back on abilitys used etc.
 
Do we really need 5000 lines of log? Realistically people who are going to report a bug/error are monitoring the bot. I think 1,000 Lines would be easily enough for anyone who wants to look back on abilitys used etc.

My thought exactly, although 5k is still way better than 500k that generates overnight.

[EDIT] And if more info beyond the 1k lines is needed, it can always be found in the .log files.
 
Last edited:
Back
Top