If the volume of log files is bad, the volume in a database might be even worse of a problem. A scanner, maybe hooked to
, could comb through the files and pick-out the meaningful messages. Then, gzip the files for a couple of days and then deep-six them. The script that gathers up the log messages could put them into whatever database table or tables you want, and the tables in question would be indexed appropriately.