Terry Carmen wrote:
Henrik K wrote:
On Sat, Jan 03, 2009 at 04:51:04PM +0530, ram wrote:
Can all the logs be made in lowercase only atleast the sender and the
recipient emailids

Since we have huge logs, searching for something in the logs is quite
expensive. And doing it case insensitive really sucks the resources
If postfix could log everything in lowercase then that would help a lot

Pretty funny stuff as my egrep chews happily 140MB/s, whether it's case
insensitive or not.. you must use really lousy code.

I was going to mention that. Case sensitivity is generally implemented in low level code in whatever string library is used. If you can tell the difference, someone did a horrible job.

Terry

My logfiles are approx 1.5 GB each, if we rotate twice a day
grep sender.*recipient $logfile is really much much  faster than  grep
-i sender.*recipient $logfile
IMHO grep would  not count as lousy code ( on linux )

Thanks
Ram


Reply via email to