Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 26th, 2003, 08:03 PM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Compressing IIS logs

Hi,

I want to compress my IIS logs into zip format on a routine basis.

Check out this URL I want to do exactly the same thing but dont want to pay 56 dollars for it.

http://www.softshell.net/

Has anyone come aross any good batch scripts or other free programs that do this sought of thing.

Thx
__________________
_________________________
Triangle Solutions Ltd
http://www.triangle-solutions.com/

Reply With Quote
  #2  
Old March 6th, 2003, 10:37 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
If it was easy, SoftShell wouldn't be in business... there's a reason it costs $56...

Reply With Quote
  #3  
Old March 7th, 2003, 08:02 PM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Good Post

Yes thanks for stating the obvious - I was trying to get opinions to see if anyone had come across any other sort of software so I can compare.

Do you have any suggestions?

Reply With Quote
  #4  
Old March 8th, 2003, 03:18 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
I only had a short glance at the software - but from that, it seems to be nothing special. If you think it is, point out the "special" feature please, i can´t see it.

It IS easy to write such a program. I could do it in a few hours, but the sum of my hourly rates would exceed the $56 for sure

first alternative:
- Get a command line version of a zip program ("PKZIP")
- write a script using (WSH, PERL, your fav. scripting lang.) that checks the logs for not being used for some time and compresses them using pkzip
- start this from your "task scheduler" once per day...

another suggestion:
are you on an NT system? even easier: activate the transparent folder compression. (you won´t get .zip files then though, but the logs will be compressed and still available unmodified so statistics programs can still use them).

and another one:
"logrotate" is a free program that does this on linux. search google if it is available for windows too. If not, but you know a little programming, you should be able to port it yourself.

The question is: Why do you want to compress them? What functionality do you want to achieve?
is it
- giving your customers the ability to download old logs zipped
- saving hard disk space
- archiving your logs so you can re-read them in a few weeks / months / ...
?

M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #5  
Old March 9th, 2003, 12:36 AM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Hi,

Great suggestions I will check out PKzip etc and should be able to write the script in PHP.

I want to do this for all the reasons you give, my logs were 13gb Until I went though by hand and compressed them in all into monthly zip files.

The files need to be Zip as my log analyser reads zip files.

Cheers

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Compressing IIS logs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

SlickEdit




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway