Feature Requests item #1439180, was opened at 2006-02-26 15:03
Message generated for change (Comment added) made by abehrens
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mahdi Naraghi (momesana)
Assigned to: Richard Laager (rlaager)
Summary: compressing log-files to save space

Initial Comment:
For chat-junkies like I am (and the other half of the 
internet-community) logging is a very useful feature 
and we use it exhaustively. the problem with it, is 
that the log-files are saved onto ~/.gaim/logs 
uncompressed and occupy A LOT OF precious diskspace. 
Since the logs are made up of simple ascii files 
(text or html) you will experience a huge reduction 
(up to 20 times) in size by using ordinary wellknown 
compression-algorithms. A fairly new gaim directory I 
examined had grown to 7,1 MB within 5 weeks. issuing 
tar cvfj logs.tar.bz2 logs demonstrated what can be 
achieved in this field. 
A few commands say more than thousand words... 
[EMAIL PROTECTED] ~/.gaim $ du -sh logs/ 
7,2M    logs/ 
[EMAIL PROTECTED] ~/.gaim $ tar cvfj logs.tar.bz2 
[EMAIL PROTECTED] ~/.gaim $ du -sh logs.tar.bz2 
436K    logs.tar.bz2 
Now, 7,2 MB is not that much but in a year, it will 
grow to 70 MB. within 2 years 140 MB. Why shouldn't 
that be reduced to less than 10 MB? 
Since I see no practical reason that speaks against 
compressing the logs (except of programming effort), 
this feature would be very useful. 


Comment By: abehrens (abehrens)
Date: 2007-03-20 11:56

Logged In: YES 
Originator: NO

If logs are compressed, I'd like it to be done using a standard
compression format (like gzip or bzip2) so that they can be read/searched
outside of gaim.

Downside of compression is that history searches become slower since you
have to uncompress everything you're searching. I'm not convinced this is a
useful feature.


Comment By: Matthew Lock (matthewlock)
Date: 2006-06-14 04:02

Logged In: YES 

I like the plain text logs as it means I can search them 
with grep or any other tools. 

Windows 2000 and XP already implement a per-folder 
compression scheme which can be used to compress Gaim logs 
if need be, maybe Linux does too?


Comment By: Richard Laager (rlaager)
Date: 2006-02-27 02:43

Logged In: YES 

I agree. I haven't had the time to do this yet, but it's on 
my TODO list. :) 


You can respond by visiting: 

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Gaim-features mailing list

Reply via email to