I must parse lots of apache log files having a C library.

You never know a great C library that is enhanced permanently performance?

Appreciate advice!

Have you provide a attempt to MergeLog ? You should use the parser that accompany it.