Console Log limit
Moderator: Moderators
-
- Plain Yogurt
- Posts: 59
- Joined: 26 Aug 2011, 04:45
- Noob?: Yes
Console Log limit
Is there a way to limit the size of the console log file? Like set it to 5MB, and then starts overwriting itself from the beginning. I notice the console log file right now just keeps writing and getting larger with no limits.
-
- Spam Generator
- Posts: 499
- Joined: 04 Apr 2008, 09:30
- Noob?: No
- Location: Melbourne, City of beer and awful sushis
Re: Console Log limit
No. I will move this to feature suggestions. Should not be a hard implementation.
Make Openkore Awesome. Join the team.
-
- Plain Yogurt
- Posts: 59
- Joined: 26 Aug 2011, 04:45
- Noob?: Yes
Re: Console Log limit
Any updates if this feature has been implemented? The console logging is useful, just that it can get ridiculously large after a few weeks of unattended botting. Thanks!
-
- Been there done that!
- Posts: 118
- Joined: 19 Sep 2011, 07:30
- Noob?: Yes
Re: Console Log limit
me playing ragnarok for 4 years, bot for 2 years, the file of chat log (not console) 20mbguytwo wrote:Any updates if this feature has been implemented? The console logging is useful, just that it can get ridiculously large after a few weeks of unattended botting. Thanks!

i don't imagine what size to logging the console of kore

Sorry, my english is very bad !
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: Console Log limit
Can't you use something like logrotate for that?
-
- Plain Yogurt
- Posts: 59
- Joined: 26 Aug 2011, 04:45
- Noob?: Yes
Re: Console Log limit
Isn't that a Linux command? I have windows osEternalHarvest wrote:Can't you use something like logrotate for that?
-
- Administrator
- Posts: 1301
- Joined: 24 Apr 2008, 12:02
Re: Console Log limit
This could be made using a Custom Plugin. Or at least I think so.
For example, Apache for Windows has a tool called "rotatelogs".
It's just that simple.
Redirect Log messages to ourself. When File limit is Reached, switch to another file.
For example, Apache for Windows has a tool called "rotatelogs".
It's just that simple.
Redirect Log messages to ourself. When File limit is Reached, switch to another file.
-
- Plain Yogurt
- Posts: 59
- Joined: 26 Aug 2011, 04:45
- Noob?: Yes
Re: Console Log limit
Here's hoping someone will make the plugin
. Pretty please!

-
- Moderators
- Posts: 208
- Joined: 01 Feb 2010, 17:37
- Noob?: No
- Location: Brazil - MG
Re: Console Log limit
I've been thinking about doing this for a long time. Just wait some days and I'll see what I can do.
-
- Plain Yogurt
- Posts: 59
- Joined: 26 Aug 2011, 04:45
- Noob?: Yes
Re: Console Log limit
Awesome! I no longer have to wait 10min to open the stupid log files!! Huzzah!!iMikeLance wrote:I've been thinking about doing this for a long time. Just wait some days and I'll see what I can do.