Hey, helix.

I zip my logs nightly with something like this:

find /home/dspace/log/ ! -iname "*.gz" -iname "dspace.log.*" -o ! -iname 
"*.gz" -iname "cocoon.log.*" -daystart -mtime +1 -exec ionice -c2 -n7 
gzip {} \;

I'm more wondering what people use these logs for, and how/if they 
archive them (especially the cocoon logs).

Alan

On 04/19/2012 10:59 AM, helix84 wrote:
> Hi Alan,
>
> take a look at logrotate. It's a standard unix tool to manage your
> logs, including splitting logs by day (DSpace does this itself),
> keeping the last N days around and compressing and/or moving the rest
> elsewhere. It's very configurable.
>
> Regards,
> ~~helix84

-- 
Alan Orth
[email protected]
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone." 
-Bjarne Stroustrup, inventor of C++


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to