Tuesday, 29 April 2014

catalina.out too big, compresed file size

Just in case that you have to gzip catalina.out log and you are short on space.
Because catalina.out is plain text, gzip compression will be huge. Here are some numbers just to see about what I am talking about. 

#ls -lh |grep catalina
-rw-r--r-- 1 root root    23G Apr 29 09:30 catalina.out
-rw-r--r-- 1 root root   114M Apr 29 09:30 catalina.out.gz

As you can see it compressed 23GB of plain text in to 114MB gzip file.

No comments: