Query logging can be enabled and disabled through TypoScript. The logged queries can then be used to display recent searches, common searches and for statistical analysis.
Status of Implementation