AbyssWS Log Splitter: v0.1 (Beta 4 Just released!)

 
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions
View previous topic :: View next topic  
Author Message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jan 21, 2007 5:46 am    Post subject: AbyssWS Log Splitter: v0.1 (Beta 4 Just released!) Reply with quote

Update: Beta 4 is now available. I modified the code to look cleaner and added some minor adjustments to the Batch file.

The final Beta is out! After this, v0.1 Debuts. Please give it a test and let me know of any bugs.

Hello Everyone,

I haven't created a script in a while and I thought I'd share my newest project to you. This PHP script will allow you to split a single log file, into multiple log files seperated by month. This is a great alternative for those who are looking forward to a Log Splitter in Abyss Web Server. I've been testing this all day and it works! Note: I plan to post this on my website this week.

Name: AbyssWS Log Splitter v0.1b4
File Size: 8.84 KB

Download:
http://www.trustabyss.com/scripts/downloads/log_splitter.zip

Check it out @ SourceForge.net:
http://sourceforge.net/projects/log-splitter/


Try it out and tell me what you think. It might be a little slow depending on the size of your log file.

Enjoy!


Last edited by TRUSTAbyss on Fri Feb 23, 2007 4:28 am; edited 9 times in total
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jan 21, 2007 2:45 pm    Post subject: Re: Log Splitter v0.1b Reply with quote

TRUSTAbyss,

Nice script. Its speed could be improved by avoiding to fopen() the file in every loop (probably by creating a cache of already opened files and reusing them instead of reopening them each time).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jan 21, 2007 10:45 pm    Post subject: Reply with quote

Hello Aprelium,

Any ideas on how I should do that? I know that PHP has to be using up some type of memory to store large amounts of data in variables. I also know that it's not a good idea to keep allowing PHP to open up the same file over and over again to write the new log entries. Any suggestions are welcomed.
Back to top View user's profile Send private message Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Jan 22, 2007 3:59 am    Post subject: Reply with quote

Hello Everyone,

I've just rewritten the code a little to improve the speed. This new Beta is much more stable than the first. Enjoy Beta 2!

Log Splitter v0.1b1 @ 6 MB Log Split (About 7 mins)
Log Splitter v0.1b2 @ 6 MB (About 1 Mins)

I've created a Monster! Muahahahahaha!
Back to top View user's profile Send private message Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Jan 25, 2007 8:24 pm    Post subject: Reply with quote

Hello Everyone,

AbyssWS Log Splitter Beta 3 is now available. This new version adds a small new feature and names "Log Splitter" to "AbyssWS Log Splitter". Enjoy!
Back to top View user's profile Send private message Visit poster's website
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Thu Jan 25, 2007 8:42 pm    Post subject: Reply with quote

TRUSTAbyss wrote:
Hello Everyone,

AbyssWS Log Splitter Beta 3 is now available. This new version adds a small new feature and names "Log Splitter" to "AbyssWS Log Splitter". Enjoy!


Good work josh, works great for me :D
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Feb 23, 2007 4:25 am    Post subject: Reply with quote

Hello Everyone,

Just letting you know that the final Beta in the v0.1 is released. This new version has a cleaner code layout and some small changes to the Batch file. Enjoy!

AbyssWS Log Splitter v0.1 Beta 4
http://www.trustabyss.com/scripts/log_splitter.zip

Now on SourceForge.net!
http://www.sourceforge.net/projects/log-splitter/

Note: FileLimit v3 is not a forgotten project. I still have plans to get it developed. Stay tuned!

Sincerely, Josh (TRUSTAbyss)
Back to top View user's profile Send private message Visit poster's website
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Sun Apr 15, 2007 4:46 am    Post subject: Reply with quote

TRUSTAbyss wrote:
Note: FileLimit v3 is not a forgotten project. I still have plans to get it developed. Stay tuned!
What's that? Edit: I found the topic about it, its not very descriptive...I'm still not sure exactly what it does.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.


Last edited by rrinc on Sun Apr 15, 2007 7:28 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Apr 15, 2007 9:25 am    Post subject: Reply with quote

rrinc wrote:
TRUSTAbyss wrote:
Note: FileLimit v3 is not a forgotten project. I still have plans to get it developed. Stay tuned!
What's that? Edit: I found the topic about it, its not very descriptive...I'm not sure exactly what it does.


Log Splitter says enough really...
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Sun Apr 15, 2007 5:30 pm    Post subject: Reply with quote

rrinc wrote:
TRUSTAbyss wrote:
Note: FileLimit v3 is not a forgotten project. I still have plans to get it developed. Stay tuned!
What's that? Edit: I found the topic about it, its not very descriptive...I'm not sure exactly what it does.

As AbyssUnderground said, its name speaks for itself. It takes blocks of wood (logs) and splits them into pieces (using an axe made using ASCII).

In all seriousness, it's supposed to break your Abyss server logs into different months... so it's easier to look through.
Back to top View user's profile Send private message ICQ Number
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Apr 15, 2007 5:32 pm    Post subject: Reply with quote

Infact even the first post says what it is. Obviously some people can't be bothered to read.

Quote:
This PHP script will allow you to split a single log file, into multiple log files seperated by month.

_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sun Apr 15, 2007 6:20 pm    Post subject: Reply with quote

AbyssUnderground wrote:
Obviously some people can't be bothered to read.
Obviously.
If anyone had noticed his quote, they would have seen that he was inquiring about TRUSTAbyss' comment on FileLimit v3.
Not the Log Splitter.
Back to top View user's profile Send private message Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Apr 15, 2007 7:27 pm    Post subject: Reply with quote

Moxxnixx wrote:
AbyssUnderground wrote:
Obviously some people can't be bothered to read.
Obviously.
If anyone had noticed his quote, they would have seen that he was inquiring about TRUSTAbyss' comment on FileLimit v3.
Not the Log Splitter.


Whoops, looks like Arctic and Myself both missed that. Doh.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Tue Apr 24, 2007 2:47 am    Post subject: Reply with quote

So, what exactly does it do?
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Apr 24, 2007 2:49 am    Post subject: Reply with quote

rrinc wrote:
So, what exactly does it do?


It splits your logs by month + year in the format of month-year-log_name.log
Think of it as Log Rotation.
Back to top View user's profile Send private message Visit poster's website
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Tue Apr 24, 2007 3:00 am    Post subject: Reply with quote

I knew that....I was asking about FileLimit.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Apr 24, 2007 3:14 am    Post subject: Reply with quote

FileLimit is a slow moving project but it will be re-written. The idea of this PHP application is to limit file downloads. The next CORE (version 3) will have a more robust way of doing this. I plan to resume Devlopment of this project later this year. I will update this topic when that happens.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group