Joachim Zobel
2016-06-12 15:39:12 UTC
Hi.
The main problem for my reverse_replace script is speed. It takes a
minute, which is too slow to be run from a web gui. This is because the
script parses the last 15k lines and puts them into an IP->name lookup
tables made up from enviroment variables.
Is there a way to log queries to a database? Something along the lines
of log-facility=/named/pipe and a clever script that turns its stdin
into INSERT statements. This way I could avoid building the lookup table.
Sincerely,
Joachim
The main problem for my reverse_replace script is speed. It takes a
minute, which is too slow to be run from a web gui. This is because the
script parses the last 15k lines and puts them into an IP->name lookup
tables made up from enviroment variables.
Is there a way to log queries to a database? Something along the lines
of log-facility=/named/pipe and a clever script that turns its stdin
into INSERT statements. This way I could avoid building the lookup table.
Sincerely,
Joachim