Console Log limit

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
guytwo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 26 Aug 2011, 04:45
Noob?: Yes

Console Log limit

#1 Post by guytwo »

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.

Cozzie
Spam Generator
Spam Generator
Posts: 499
Joined: 04 Apr 2008, 09:30
Noob?: No
Location: Melbourne, City of beer and awful sushis

Re: Console Log limit

#2 Post by Cozzie »

No. I will move this to feature suggestions. Should not be a hard implementation.
Make Openkore Awesome. Join the team.

guytwo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 26 Aug 2011, 04:45
Noob?: Yes

Re: Console Log limit

#3 Post by guytwo »

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!

rocknroll
Been there done that!
Been there done that!
Posts: 118
Joined: 19 Sep 2011, 07:30
Noob?: Yes

Re: Console Log limit

#4 Post by rocknroll »

guytwo 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!
me playing ragnarok for 4 years, bot for 2 years, the file of chat log (not console) 20mb :(
i don't imagine what size to logging the console of kore :lol:
Sorry, my english is very bad !

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Console Log limit

#5 Post by EternalHarvest »

Can't you use something like logrotate for that?

guytwo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 26 Aug 2011, 04:45
Noob?: Yes

Re: Console Log limit

#6 Post by guytwo »

EternalHarvest wrote:Can't you use something like logrotate for that?
Isn't that a Linux command? I have windows os

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Console Log limit

#7 Post by kLabMouse »

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.

guytwo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 26 Aug 2011, 04:45
Noob?: Yes

Re: Console Log limit

#8 Post by guytwo »

Here's hoping someone will make the plugin :). Pretty please!

iMikeLance
Moderators
Moderators
Posts: 208
Joined: 01 Feb 2010, 17:37
Noob?: No
Location: Brazil - MG
Contact:

Re: Console Log limit

#9 Post by iMikeLance »

I've been thinking about doing this for a long time. Just wait some days and I'll see what I can do.

guytwo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 26 Aug 2011, 04:45
Noob?: Yes

Re: Console Log limit

#10 Post by guytwo »

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.
Awesome! I no longer have to wait 10min to open the stupid log files!! Huzzah!!

Post Reply