Okay, got it:
change line 156 from:
if (qa_opt('event_logger_to_database')) {
to:
if (qa_opt('event_logger_to_database') && $event!='search') {
Then search events will not be written to database :)
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.